Skip to content

Commit

Permalink
Clarify early stopping dependency on validation
Browse files Browse the repository at this point in the history
  • Loading branch information
reuben committed Apr 4, 2019
1 parent 15e957e commit 7418a1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/flags.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def create_flags():

# Early Stopping

tf.app.flags.DEFINE_boolean ('early_stop', True, 'enable early stopping mechanism over validation dataset')
tf.app.flags.DEFINE_boolean ('early_stop', True, 'enable early stopping mechanism over validation dataset. If validation is not being run, early stopping is disabled.')
tf.app.flags.DEFINE_integer ('es_steps', 4, 'number of validations to consider for early stopping. Loss is not stored in the checkpoint so when checkpoint is revived it starts the loss calculation from start at that point')
tf.app.flags.DEFINE_float ('es_mean_th', 0.5, 'mean threshold for loss to determine the condition if early stopping is required')
tf.app.flags.DEFINE_float ('es_std_th', 0.5, 'standard deviation threshold for loss to determine the condition if early stopping is required')
Expand Down

0 comments on commit 7418a1b

Please sign in to comment.