-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Adds the option of saving the last model on checkpoint #1908
Conversation
Hello @lgvaz! Thanks for updating this PR.
Comment last updated at 2020-05-22 03:44:38 UTC |
I thought by reading the contributing guide that the max line length was 120, bot does not like that my line is 113, should I make the bot happy? |
the bot warns after 110 characters and the test will fail for >120 |
could you also add an entry in changelog? |
Does the changelog makes sense? |
Co-authored-by: Jeremy Jordan <13970565+jeremyjordan@users.noreply.github.com>
Do we want to expose this argument in the trainer? |
what do you mean, I think that it quite natural also save the last state especially when your training accidentally stops... |
Is it a good idea to make |
good point, probably False is better option since every save would slow down... |
Should I do something or is it automatically going to close that once this is merged? |
now it is linked and with merging this PR it will automatically close the linked issue |
Before submitting
What does this PR do?
Implements part of #1658 , option to always save the latest model.
Fixes #1926