Aan de slagGa gratis aan de slag

Training two-input model

The training loop for your two-input model will be a typical PyTorch training loop. The only change compared to the training loops you have written before is that now you have two inputs instead of one.

What is the correct way of iterating through the dataloader and passing the inputs to the model?

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