diff options
Diffstat (limited to 'tensorflow/python/estimator/training.py')
-rw-r--r-- | tensorflow/python/estimator/training.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tensorflow/python/estimator/training.py b/tensorflow/python/estimator/training.py index f3d1aca717..f4ccea6806 100644 --- a/tensorflow/python/estimator/training.py +++ b/tensorflow/python/estimator/training.py @@ -392,10 +392,6 @@ class _TrainingExecutor(object): metrics = evaluator.evaluate_and_export() - if not metrics: - # This is unexpected. Training should always end with a new checkpoint. - raise RuntimeError('There was no new checkpoint after the training.') - if _should_stop_local_train(metrics[ops.GraphKeys.GLOBAL_STEP]): break |