From 5ee856d075cd1a41f0f7f48dcbcef2935474e207 Mon Sep 17 00:00:00 2001 From: Reuben Morais Date: Thu, 4 Apr 2019 18:35:35 -0300 Subject: [PATCH] Clarify early stopping dependency on validation --- util/flags.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/flags.py b/util/flags.py index 0dcc7ab7..1683e32b 100644 --- a/util/flags.py +++ b/util/flags.py @@ -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')