Save the optimizer state dict together with the model state dict
Opened this issue · 0 comments
DanielCoelho112 commented
According to https://pytorch.org/tutorials/beginner/saving_loading_models.html, when saving the checkpoint we should also save the state dict of the optimizer.