Commit 8c3a1ef3 authored by Vighnesh Birodkar's avatar Vighnesh Birodkar Committed by TF Object Detection Team
Browse files

Exit eval if training steps are complete.

PiperOrigin-RevId: 428629058
parent 812ab923
......@@ -1164,3 +1164,7 @@ def eval_continuously(
postprocess_on_cpu=postprocess_on_cpu,
global_step=global_step,
)
if global_step.numpy() == configs['train_config'].num_steps:
tf.logging.info('Exiting evaluation at step %d', global_step.numpy())
return
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