Skip to content
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

Implement --save-period locally #5047

Merged
merged 1 commit into from
Oct 5, 2021
Merged

Implement --save-period locally #5047

merged 1 commit into from
Oct 5, 2021

Commits on Oct 5, 2021

  1. Implement --save-period locally

    This PR adds a new training argument `--save-period` to save training checkpoints every `x` epochs. To save training every 50 epochs for example:
    ```
    python train.py --save-period 50  # saves epoch50.pt, epoch100.pt, epoch150.pt, ... etc.
    ```
    
    This saved checkpoints in addition to existing last.pt and best.pt checkpoints and does not affect their behavior. Default value is -1, i.e. disabled.
    glenn-jocher committed Oct 5, 2021
    Configuration menu
    Copy the full SHA
    9f2e5dd View commit details
    Browse the repository at this point in the history