Skip to content
This repository has been 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

Commits on Feb 6, 2020

  1. Checkpoint only at the end of train phases, only run on_start on master

    Differential Revision: D19770656
    
    fbshipit-source-id: c6bef5b1c7b23940858c72c3a93942205980f2b8
    mannatsingh authored and facebook-github-bot committed Feb 6, 2020
    Configuration menu
    Copy the full SHA
    c003283 View commit details
    Browse the repository at this point in the history
  2. Take a separate argument for loading checkpoints, take paths for pret…

    …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
    mannatsingh authored and facebook-github-bot committed Feb 6, 2020
    Configuration menu
    Copy the full SHA
    83f6488 View commit details
    Browse the repository at this point in the history