CS 451 Class 30 - Intro to PyTorch

You can work in pairs or alone.

  1. (Optional, if you want to work on your own Mac): Install PyTorch.
  2. Otherwise, or if you run into trouble, log into the lab machines. Start Python3 and type "import torch". If this gives an error, try logging into basin -- it should at least work there.

  3. Start the tutorial Deep Learning with PyTorch: A 60 Minute Blitz. Go through the first two chapters ("What is PyTorch?" and "Autograd"). If you want, you can also get started on the 3rd chapter ("Neural Networks").