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
Good call---I'll work on adding that. Also, when you restart training, it loads the previous state but starts at epoch 1, so that needs to be fixed too.
I think it would be useful if the optimizer state was also saved, for a future retraining from a checkpoint
torch.save(optimizer.state_dict(), path_to_optimizer)
The text was updated successfully, but these errors were encountered: