Get startedGet started for free

Classifying Lightning callbacks

In PyTorch Lightning, two popular callbacks are ModelCheckpoint and EarlyStopping. One automatically saves the best-performing model based on a chosen metric, while the other halts training when improvements plateau to prevent overfitting. Let's see if you can correctly classify key statements about each callback.

This exercise is part of the course

Scalable AI Models with PyTorch Lightning

View Course

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise