-
Notifications
You must be signed in to change notification settings - Fork 49
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
Early Stopping occurs during training #31
Comments
What do you mean with it stops? Is the accuracy not increasing anymore? Is the script crashing? ...? |
@Bartzi Yeah The validation accuracy is not increasing for last 9 epochs. |
Well, in order to help. I would need more information. What are you training on? Your own data? What is the current validation accuracy? Did you change anything in the code? What is your train configuration? |
Yes I am training on my own Data. Dataset contains English and Japanese audios. Training configuration:
|
It could be that your model converges, or that your learning rate is too high at this point. You could add a callback that scales the learning rate of the Adam optimizer, maybe that helps. |
@Bartzi Thanks a lot for your suggestion! Would you kindly tell me how can I modify callback object in training script to scale the learning rate?! |
The best tip is to have a look at the documentation of Keras 😉 |
@Bartzi Thanks a lot! I found : |
As with most things in Deep Learning: You have to try. But my first idea would be to set it to |
@Bartzi Thanks a lot.
I collected the data from youtube. The problem is My dataset is not so big. Only 3328 mel-spec images for training set. |
Yes, that low amount of training data might very well be a problem. |
I am trying to train model. But While training, all on a sudden Early Stopping occurs. The model is supposed to be trained upto 50 epochs. But at 15-16 epochs it stops.
Can anyone tell why this early stopping occurs?
The text was updated successfully, but these errors were encountered: