Commit 6da584a4 authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

remove verbosity

parent 9e0bcc74
...@@ -92,8 +92,6 @@ class EarlyStopping(tf.train.SessionRunHook): ...@@ -92,8 +92,6 @@ class EarlyStopping(tf.train.SessionRunHook):
stopped. Please use large patience values since this hook is stopped. Please use large patience values since this hook is
implemented using steps instead of epochs compared to the equivalent implemented using steps instead of epochs compared to the equivalent
one in Keras. one in Keras.
verbose
verbosity mode.
mode mode
one of {auto, min, max}. In `min` mode, training will stop when the one of {auto, min, max}. In `min` mode, training will stop when the
quantity monitored has stopped decreasing; in `max` mode it will stop quantity monitored has stopped decreasing; in `max` mode it will stop
...@@ -106,13 +104,11 @@ class EarlyStopping(tf.train.SessionRunHook): ...@@ -106,13 +104,11 @@ class EarlyStopping(tf.train.SessionRunHook):
monitor='accuracy', monitor='accuracy',
min_delta=0, min_delta=0,
patience=0, patience=0,
verbose=0,
mode='auto'): mode='auto'):
super(EarlyStopping, self).__init__() super(EarlyStopping, self).__init__()
self.monitor = monitor self.monitor = monitor
self.patience = patience self.patience = patience
self.verbose = verbose
self.min_delta = min_delta self.min_delta = min_delta
self.wait = 0 self.wait = 0
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment