Skip to content

Why is the lower accuracy model saved as best? #14055

Answered by GreatV
ep0p asked this question in Q&A
Discussion options

You must be logged in to vote

The higher training accuracies you observed (above 0.92) were calculated on the training data and may be inflated due to overfitting. The "best" model is saved based on the highest validation accuracy achieved on a separate validation set. In your case, the model achieved its peak validation accuracy of 0.87 at epoch 3, so the model from that epoch was saved as the "best," despite higher training accuracies in later epochs.

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by ep0p
Comment options

You must be logged in to vote
2 replies
@GreatV
Comment options

@GreatV
Comment options

Comment options

You must be logged in to vote
0 replies
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