Pytorch Learning Notes


First: Setup your local environment:

virtualenv venv
. venv/bin/activate
pip install -r requirements.txt


Train a model:

  • Pre: Prep your data
  • Setup pytorch env locally
  • Define a simple neural network
  • Load data
  • Define Loss Function and Optimizer
  • Train data in a loop
  • Evaluate the model
  • Save the Model 💾
  • Visualize? Deploy?