forked from pytorch/tnt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add
restore_from_best
to BaseCheckpointer (pytorch#677)
Summary: # Context We are adding best checkpoint feature in TNT checkpointers. This requires us to save, as well as load the best checkpoint. # This Diff Adds `restore_from_best` method to load from best checkpoint # Next Diff Implement save best checkpoint Reviewed By: galrotem Differential Revision: D52746033
- Loading branch information
1 parent
5b5b10d
commit b9a8b68
Showing
2 changed files
with
131 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters