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

To Keras community: What interpretations do you have for these curves? #19676

Closed
sondosaabed opened this issue May 6, 2024 · 3 comments
Closed
Assignees

Comments

@sondosaabed
Copy link

Hello all,

The accuracy of validation becomes steady between 40-60 while the training accuracy is getting higher.
The loss is at first decreasing then starts increasing in validation.
Does that mean the model is learning or that the model is over fitting the data?

x_valid.shape
(3000, 180, 180, 1)

x_train.shape
(14000, 180, 180, 1)

image
image

@fchollet
Copy link
Member

fchollet commented May 6, 2024

That's overfitting, your model is plateauing after ~10 epochs. Either stop training at that point, or add regularization.

Closing this since Keras issues are for bug reports and feature requests, rather than for general ML support questions.

@fchollet fchollet closed this as completed May 6, 2024
@sondosaabed
Copy link
Author

@fchollet alright, thank you!

@sondosaabed
Copy link
Author

#3755

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants