"...resnet50_tensorflow.git" did not exist on "63ef92aaf79172e337d90cf570bca0a2ec1304a2"
Commit 719eec7b authored by guptapriya's avatar guptapriya
Browse files

Fix breakage due to early stopping callback

parent 6fc642d4
......@@ -156,6 +156,7 @@ class CustomEarlyStopping(tf.keras.callbacks.Callback):
self.monitor = monitor
self.desired = desired_value
self.stopped_epoch = 0
def on_epoch_end(self, epoch, logs=None):
current = self.get_monitor_value(logs)
......
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