aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/training/basic_session_run_hooks.py
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/python/training/basic_session_run_hooks.py')
-rw-r--r--tensorflow/python/training/basic_session_run_hooks.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/tensorflow/python/training/basic_session_run_hooks.py b/tensorflow/python/training/basic_session_run_hooks.py
index 1084acff65..bbd2e2e5ab 100644
--- a/tensorflow/python/training/basic_session_run_hooks.py
+++ b/tensorflow/python/training/basic_session_run_hooks.py
@@ -120,7 +120,12 @@ class SecondOrStepTimer(object):
class LoggingTensorHook(session_run_hook.SessionRunHook):
"""Prints the given tensors once every N local steps or once every N seconds.
- The tensors will be printed to the log, with `INFO` severity.
+ The tensors will be printed to the log, with `INFO` severity. If you are not
+ seeing the logs, you might want to add the following line after your imports:
+
+ ```python
+ tf.logging.set_verbosity(tf.logging.INFO)
+ ```
"""
def __init__(self, tensors, every_n_iter=None, every_n_secs=None,