Skip to content

Ex2 - Early Stopping Midway Through Epoch #107

Discussion options

You must be logged in to vote

Hello,

you are right, with early stopping one evaluates against the validation set. However one can do that not only after every x epochs, but after a certain number of training steps.
One does not stop partially through the epoch and then start a new epoch, the whole training is finished when early stopping terminates. The reasoning behind that is that one not trains until the whole end of the specified epoch number, but that the training stops, if the performance does not increase after n additional training steps.
Maybe this article also helps a bit to understand how it works.

Best,
Sophia

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@BananaLee
Comment options

@sophiaalthammer
Comment options

Answer selected by sophiaalthammer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants