Is the final model best or last? #1448
Answered
by
AntonioCarta
bartosz-grabowski
asked this question in
Q&A
-
Hello. Is the
And what model is returned for Thank you. |
Beta Was this translation helpful? Give feedback.
Answered by
AntonioCarta
Jul 7, 2023
Replies: 1 comment 2 replies
-
Always the last one, unless you are using EarlyStoppingPlugin. If you need something different, you can implement your own plugin that stores the best model and set Of course when you use metrics computed in |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
bartosz-grabowski
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Always the last one, unless you are using EarlyStoppingPlugin. If you need something different, you can implement your own plugin that stores the best model and set
strategy.model = best_model
inafter_traning_experience
.Of course when you use metrics computed in
strategy.eval
you have to take care that those are actually computed (i.e.eval_every
is set correctly).