Deep Learning Section 031

Optimisers, Schedulers and the Training Loop

Everything that surrounds the model: how weights are updated, how the learning rate moves, and how you know it is working.

9 of 9 lessons published Three reading levels on every lesson

Start with “Choosing between SGD, Adam and AdamW”

Lessons in order

Work top to bottom. Each lesson assumes the one above it.

  1. Choosing between SGD, Adam and AdamW
  2. Parameter groups and per-layer learning rates
  3. Learning rate schedulers
  4. Finding a learning rate that works
  5. Logits, softmax and picking the right loss
  6. Writing a validation loop that reports the truth
  7. TorchMetrics
  8. Early stopping and keeping the best model
  9. PyTorch Lightning