Commit 9214db1d authored by guptapriya's avatar guptapriya Committed by guptapriya
Browse files

Fix early stopping metric check

parent 8f6e2547
......@@ -294,7 +294,7 @@ def run_ncf(_):
if FLAGS.early_stopping:
early_stopping_callback = CustomEarlyStopping(
"val_metric_fn", desired_value=FLAGS.hr_threshold)
"val_HR_METRIC", desired_value=FLAGS.hr_threshold)
callbacks.append(early_stopping_callback)
strategy = distribution_utils.get_distribution_strategy(
......
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