Skip to content

Is the final model best or last? #1448

Discussion options

You must be logged in to vote

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 in after_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).

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@bartosz-grabowski
Comment options

@bartosz-grabowski
Comment options

Answer selected by bartosz-grabowski
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants