This repository was archived by the owner on Jul 1, 2024. It is now read-only.
Take a separate argument for loading checkpoints, take paths for pretrained checkpoints#379
Closed
mannatsingh wants to merge 2 commits intofacebookresearch:masterfrom
Closed
Take a separate argument for loading checkpoints, take paths for pretrained checkpoints#379mannatsingh wants to merge 2 commits intofacebookresearch:masterfrom
mannatsingh wants to merge 2 commits intofacebookresearch:masterfrom
Conversation
Differential Revision: D19770656 fbshipit-source-id: c6bef5b1c7b23940858c72c3a93942205980f2b8
…rained checkpoints Summary: There are now two arguments for checkpoints - - `checkpoint_folder`: This is where checkpoints are saved to. Checkpoints are saved inside a subdirectory (the flow id) within this folder - `checkpoint_load_path`: This is where checkpoints are loaded from. This can be a file or a directory. Note that this means that training will not automatically resume by picking up a checkpoint from the `checkpoint_folder` if the user doesn't specify a `checkpoint_load_path`, but I think explicit is better than implicit in this scenario. Also, renamed `pretrained_checkpoint_folder` to `pretrained_checkpoint_path` and updated the help string to reflect the fact that this doesn't need to be a folder anymore. Updated the Getting started tutorial to reflect the changes. Differential Revision: D19760255 fbshipit-source-id: 7d3e33289b999f261e4dbefd7bc44f4e7b750c10
Contributor
|
This pull request was exported from Phabricator. Differential Revision: D19760255 |
Contributor
|
This pull request has been merged in 8575416. |
This file contains hidden or 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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary:
There are now two arguments for checkpoints -
checkpoint_folder: This is where checkpoints are saved to. Checkpoints are saved inside a subdirectory (the flow id) within this foldercheckpoint_load_path: This is where checkpoints are loaded from. This can be a file or a directory.Note that this means that training will not automatically resume by picking up a checkpoint from the
checkpoint_folderif the user doesn't specify acheckpoint_load_path, but I think explicit is better than implicit in this scenario.Also, renamed
pretrained_checkpoint_foldertopretrained_checkpoint_pathand updated the help string to reflect the fact that this doesn't need to be a folder anymore.Updated the Getting started tutorial to reflect the changes.
Differential Revision: D19760255