forked from tryolabs/luminoth
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes some issues with saving and loading checkpoints
- Use a generic saver for ease of using when using Scaffold (in both train and eval) - Init variables and then load the pretrained weights (it's important that these two operations are executed in order) - Remove `--continue-training` option, since it's the default behaviour now - Use different GraphKey for grabbing pretrained variables. Using GLOBAL yielded optimizer variables which we didn't want to load
- Loading branch information
Showing
3 changed files
with
14 additions
and
20 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
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