Skip to content

pallavijain-pj/pytorch-hooks-tutorial

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pytorch-hooks-tutorial

A crash course on PyTorch hooks. A companion for my Medium post at LINK TO BE INSERTED LATER

Running the notebook

  1. Create a new virtual environment.
virtualenv /path/to/venv --python /path/to/python3

The path of your Python3 interpreter can be found by

which python3
  1. Activate the virtual environment and install the required packages.
source /path/to/venv/bin/activate
pip install -r requirements.txt
  1. Install a Jupyter kernel inside the virtual environment.
ipython kernel install --user --name=name-of-your-venv
  1. Run Jupyter notebook and execute the notebook.

Attributions

Photo of cat by Manja Vitolic on Unsplash.

About

A crash course on PyTorch hooks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 100.0%