-
Notifications
You must be signed in to change notification settings - Fork 19.4k
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
EarlyStopping not working properly #2159
Comments
Shouldn't it be |
Tried lots, not val_loss or value or whatever. Do you know if this earlystop work for your code? The issue is 'logs' is empty when this callback function been called. Seems logs got reset before on_epoch_end. |
Yes, it worked IIRC. |
This code works. Might help. |
What's the purpose of using an EarlyStopping without a validation set? |
|
I have had the same issue. My mistake was omitting the mode='auto' when defining the EarlyStopping object ! |
@yanje03 |
it always stop when patience number reached. then i went to debug and found
in callbacks.py
logs is always empty when on_epoch_end in was called.
so value current is always null, training will always stop when patience number reached.
but logs isn't empty when on_batch_begin/end was called. will logs reset before on_epoch_end was called?
Do I miss something?
The text was updated successfully, but these errors were encountered: