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

Fix for early stopping when check_val_every_n_epoch > 1 #743

Merged
merged 1 commit into from
Jan 24, 2020

Conversation

kuynzereb
Copy link
Contributor

Together with #542 it resolves #524.

This PR fixes early stopping behavior for check_val_every_n_epoch > 1. Now we will call early_stop_callback.on_epoch_end() only if is_val_epoch is True.

@williamFalcon williamFalcon merged commit b35c472 into Lightning-AI:master Jan 24, 2020
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

Successfully merging this pull request may close these issues.

default EarlyStopping callback should not fail on missing val_loss data
2 participants