DanielCoelho112/synfeal

Save the optimizer state dict together with the model state dict

Opened this issue · 0 comments

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.