You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does that mean after trainer runs training epoch it will run train_evaluator through the entire train dataset to calculate losses again? Or am I misunderstanding something?
The text was updated successfully, but these errors were encountered:
So, yes, on each completed epoch we run train_evaluator.run(train_loader) on entire training dataloader to compute average loss value. This is optional and helps to see model's generalization capability. For large datasets we can also create a special train_eval_loader of size of validation dataset.
Keep also in mind that the average loss indicated during the training is not the one computed separately over the training set as during the training the model is updated on each iteration.
https://pytorch-ignite.ai/tutorials/beginner/01-getting-started
its says this
Does that mean after
trainer
runs training epoch it will runtrain_evaluator
through the entire train dataset to calculate losses again? Or am I misunderstanding something?The text was updated successfully, but these errors were encountered: