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?
Questo esercizio fa parte del corso
Intermediate Deep Learning with PyTorch
Esercizio pratico interattivo
Passa dalla teoria alla pratica con uno dei nostri esercizi interattivi
Inizia esercizio