diff options
Diffstat (limited to 'tensorflow/python/training/supervisor.py')
-rw-r--r-- | tensorflow/python/training/supervisor.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/python/training/supervisor.py b/tensorflow/python/training/supervisor.py index 7b93391911..884c1b6182 100644 --- a/tensorflow/python/training/supervisor.py +++ b/tensorflow/python/training/supervisor.py @@ -1027,7 +1027,7 @@ class SVStepCounterThread(coordinator.LooperThread): elapsed_time = current_time - self._last_time self._last_time = current_time # Reports the number of steps done per second - steps_per_sec = added_steps / elapsed_time + steps_per_sec = added_steps / elapsed_time if elapsed_time != 0. else float("inf") summary = Summary(value=[Summary.Value(tag=self._summary_tag, simple_value=steps_per_sec)]) if self._sv.summary_writer: |