Unverified Commit 23662bb4 authored by Ayush Dubey's avatar Ayush Dubey Committed by GitHub
Browse files

Do not return immediately after train_and_evaluate. (#6807)

parent 85b64893
......@@ -654,7 +654,7 @@ def resnet_main(
tf.estimator.train_and_evaluate(classifier, train_spec, eval_spec)
# tf.estimator.train_and_evalute doesn't return anything in multi-worker
# case.
return {}
eval_results = {}
else:
if train_epochs == 0:
# If --eval_only is set, perform a single loop with zero train epochs.
......
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