diff options
author | Russell Power <power@google.com> | 2018-09-28 19:07:21 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-09-28 19:12:05 -0700 |
commit | 3760cb47f3603638cf88c8771640af9debd30bad (patch) | |
tree | 91a8144bb0c462e1a32ae46c475a93e531caac53 /tensorflow/contrib/tpu | |
parent | d37f771cc5a208cdc88a50a65f491b3c06c9f262 (diff) |
Fix bad reference to self._name in TPUEstimator infeed loop.
PiperOrigin-RevId: 215029224
Diffstat (limited to 'tensorflow/contrib/tpu')
-rw-r--r-- | tensorflow/contrib/tpu/python/tpu/tpu_estimator.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tensorflow/contrib/tpu/python/tpu/tpu_estimator.py b/tensorflow/contrib/tpu/python/tpu/tpu_estimator.py index 545cee637f..3aa5b6efa1 100644 --- a/tensorflow/contrib/tpu/python/tpu/tpu_estimator.py +++ b/tensorflow/contrib/tpu/python/tpu/tpu_estimator.py @@ -426,10 +426,10 @@ class TPUInfeedOutfeedSessionHook(session_run_hook.SessionRunHook): def _run_infeed(self, queue_ctx, session): logging.info('Starting infeed thread controller.') if self._initial_infeed_sleep_secs: - logging.info('%s thread sleeping for %d seconds.', self._name, + logging.info('Infeed thread sleeping for %d seconds.', self._initial_infeed_sleep_secs) time.sleep(self._initial_infeed_sleep_secs) - logging.info('%s thread starting after sleep', self._name) + logging.info('Infeed thread starting after sleep') with self._rendezvous.catch_errors(source='infeed', session=session): if self._run_infeed_loop_on_coordinator: |