diff options
author | 2017-10-03 14:59:25 -0700 | |
---|---|---|
committer | 2017-10-03 15:07:25 -0700 | |
commit | 435b31b9fcbb9aeeebf80ee7ca0a154a0e99b826 (patch) | |
tree | d17af7fc3581cd34d681502568bf0dee1f0e0bfe /tensorflow/python/estimator/training.py | |
parent | 66df43d09c99207a06f4f697b9baa6a77857e565 (diff) |
Automated g4 rollback of changelist 170892257
PiperOrigin-RevId: 170919783
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 |