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

[Feature] Add a parameter to control when to save checkpoints #1192

Closed
zhouzaida opened this issue Jun 5, 2023 · 1 comment
Closed

[Feature] Add a parameter to control when to save checkpoints #1192

zhouzaida opened this issue Jun 5, 2023 · 1 comment

Comments

@zhouzaida
Copy link
Collaborator

What is the feature?

Add a parameter called save_begin to CheckpointHook to control the epoch number or iteration number at which checkpoint saving begins. Refer to #636

For example, if we train for a total of 10 epochs and save_begin is set to 6, the weights for epochs 6, 7, 8, 9, and 10 will be saved. If interval=2, only the weights for epochs 6, 8, and 10 will be saved.

Any other context?

No response

@zhouzaida
Copy link
Collaborator Author

resolved by #1271

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant