Aan de slagGa gratis aan de slag

Training loop

Time to refresh your knowledge on training loops! Let's train a classifier to predict water potability. You will use the model called net, which you built in the previous lesson.

The training loop code has already been written but, unfortunately, all the code lines got mixed up! Can you sort them to recover the proper order of operations performed during training?

Deze oefening maakt deel uit van de cursus

Intermediate Deep Learning with PyTorch

Cursus bekijken

Praktische interactieve oefening

Zet theorie om in actie met een van onze interactieve oefeningen.

Begin met trainen