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
"""Increment the epochs completed and resets the steps completed within the epoch."""
self._num_epochs_completed+=1
self._num_steps_completed_in_epoch=0
If num_steps_completed_in_epoch is reset in increment_epoch, then the callback on_train_epoch_end cannot have access to the number of steps completed in the epoch.
The text was updated successfully, but these errors were encountered:
haarisr
changed the title
Increment epoch should not reset num_steps_competed_in_epoch
Increment epoch should not reset num_steps_completed_in_epoch
Jul 15, 2024
tnt/torchtnt/framework/train.py
Lines 252 to 255 in 860d155
tnt/torchtnt/utils/progress.py
Lines 46 to 49 in 860d155
If
num_steps_completed_in_epoch
is reset inincrement_epoch
, then the callbackon_train_epoch_end
cannot have access to the number of steps completed in the epoch.The text was updated successfully, but these errors were encountered: