Lecture 9#
Topic#
In this lecture you learn how to train models in pytorch. We work with the same model as in lecture 8, but this time do not implement it from scratch. Instead we re-use components form Pytorch.
Lecture Slides#
Exercises#
Suggested Homework#
Play around with different optimizers
Extend the code from the exercises to get better logging or visualization of the training process
Try out larger or smaller networks
Additional materials#
Blogpost about optimizers#
This excellent blogpost discusses all optimizers we looked at and many more.
Sebastian Rascka’s online course#
Units 4.3 and 4.4 of Sebastian Raschka’s free online course covers the topics of this lecture.
How to store GitHub credentials#
Storing GitHub credentials means that you do not have to type in your username and password each time you push or pull from the repository. Here is the documentation.