Module 16
Working with PyTorch
tensors, nn.Module, DataLoader, the training loop
When you finish this module you can say:
I can write a model, a dataset, and a training loop in PyTorch, and evaluate the model.
By the end of this module you'll be able to write Module 15's digit recognizer in PyTorch and train it on Colab.
StartLessons
7 lessons · ≈ 69 min
- Tensors: a numpy array + automatic differentiation9 min
- Writing an nn.Module9 min
- Dataset and DataLoader9 min
- The training loop and optim10 min
- Context managers and decorators: no_grad10 min
- Using a pretrained model10 min
- Project: a digit recognizer, with PyTorch12 min · project
Practice exercises
Short writing exercises, independent of the lessons: Go to the exercises