keras-team / keras

Deep Learning for humans
http://keras.io/
Apache License 2.0
61.06k stars 19.35k forks source link

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

Closed sondosaabed closed 1 week ago

sondosaabed commented 1 week ago

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 commented 1 week ago

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.

sondosaabed commented 1 week ago

@fchollet alright, thank you!

sondosaabed commented 1 week ago

3755