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

Checkpoints #50

Closed
eduardocarvp opened this issue Dec 5, 2019 · 1 comment
Closed

Checkpoints #50

eduardocarvp opened this issue Dec 5, 2019 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@eduardocarvp
Copy link
Collaborator

Feature request

Save/load/average checkpoints.

What is the expected behavior?

What is motivation or use case for adding/changing the behavior?
Smarter early stopping and possibly better generalization on predictions.

How should this be implemented in your opinion?
Good source of inspiration here: https://github.com/Qwicen/node/blob/master/lib/trainer.py

Are you willing to work on this yourself?
yes

@eduardocarvp eduardocarvp added the enhancement New feature or request label Dec 5, 2019
@Optimox
Copy link
Collaborator

Optimox commented Dec 6, 2020

@eduardocarvp I thinkg with Stochastic Weight Averaging natively available in PyTorch 1.6 we could do this in a very simple way and add a parameter for when to start SWA: https://pytorch.org/blog/pytorch-1.6-now-includes-stochastic-weight-averaging/

@Optimox Optimox closed this as completed Nov 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants