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

Saving checkpoint before evaluation #226

Open
AdrianKs opened this issue Sep 16, 2021 · 1 comment
Open

Saving checkpoint before evaluation #226

AdrianKs opened this issue Sep 16, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@AdrianKs
Copy link
Collaborator

Currently we are storing checkpoints after evaluation.
If we for some reason encounter an error during evaluation (e.g. OOM) we will lose the complete epoch.
Therefore, we should store the checkpoint before (or even while) we run the evaluation code.

@AdrianKs AdrianKs added the enhancement New feature or request label Sep 16, 2021
@AprLie
Copy link

AprLie commented Oct 2, 2022

I think this problem can be avoided by evaluating the model before the training phase as saving the checkpoints after the evaluation can provide the best model and well support the early stopping.

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

2 participants