Save model with best validation Error #2713
Unanswered
JonathanSchmidt1
asked this question in
Q&A
Replies: 1 comment
-
The on-the-fly validation randomly picks a or several batch(es) of data, and calculates the validation errors. Therefore, a small validation error printed during training does not necessary implies the model's quality is higher, unless all the validation data is used on-the-fly. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Despite a small learning rate I still have a quite large variation in the validation errors during training.
I would like to save the model with the smallest validation error and use that for testing and production.
Does any option for this already exist or is there interest to implement it?
It basically just requires keeping track of the validation error and saving a model under best_checkpoint.. if the validation error decreased.
Thank you very much
Beta Was this translation helpful? Give feedback.
All reactions