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

add early-stopping #43

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

abdallah1097
Copy link
Contributor

Adding Early Stopping Feature

This commits adds early stopping feature, early stopping class is created by Bjarten/early-stopping-pytorch [link below]
Added several variables in config.yml:
1. early_stopping_flag: wether to enable early_stopping feature or not
2. early_stopping_patience: How many epochs of val_loss is changing only within the delta
3. early_stopping_delta: toolerance in val_loss where code will decide to EarlyStop!

link to pytorchtools.py:
https://github.com/Bjarten/early-stopping-pytorch/blob/master/pytorchtools.py

This commits adds early stopping feature, early stopping class is created by Bjarten/early-stopping-pytorch [link below]
Added several variables in config.yml:
1. early_stopping_flag: wether to enable early_stopping feature or not
2. early_stopping_patience: How many epochs of val_loss is changing only within the delta
3. early_stopping_delta: toolerance in val_loss where code will decide to EarlyStop!

link to pytorchtools.py:
https://github.com/Bjarten/early-stopping-pytorch/blob/master/pytorchtools.py
@dayyass
Copy link
Owner

dayyass commented Dec 10, 2020

This pull request will be merged after #27, #29, #32

@dayyass dayyass changed the title Add early stopping feature add early-stopping Oct 12, 2021
@dayyass dayyass linked an issue Oct 12, 2021 that may be closed by this pull request
@dayyass dayyass self-assigned this Oct 12, 2021
@dayyass dayyass self-requested a review October 12, 2021 18:04
@dayyass dayyass added the enhancement New feature or request label Oct 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add early-stopping
2 participants