-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Output checkpoint file of training with both optimizer's parameters and model's one. #618
Comments
they are typically saved in two different files |
add rng state to the list |
pytorch saves the RNG state for the current device and the device of all cuda. In this recipe, all the states are put in one file. Rather than outputting two files (model and optimizer states) separately in torchvision, it seems that it outputs the one file as checkpoint.pth and model_xx.pth, and the latest one is just checkpoint.pth. |
I just want to have checkpoint-function, so I think it's okay to have one or more. |
@tscholak |
No description provided.
The text was updated successfully, but these errors were encountered: