question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

When I used tensorboard as tensorboard --logdir=logs ,it told me that

See original GitHub issue

When I used tensorboard as tensorboard --logdir=logs ,it told me that D:\workspace\python\Human-Detection_by_tiny_YoLo_v3>tensorboard --logdir=logs Traceback (most recent call last): File "d:\software\run\python\lib\runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "d:\software\run\python\lib\runpy.py", line 85, in _run_code exec(code, run_globals) File "D:\software\run\python\Scripts\tensorboard.exe\__main__.py", line 5, in <module> File "d:\software\run\python\lib\site-packages\tensorboard\main.py", line 44, in <module> from tensorboard import default File "d:\software\run\python\lib\site-packages\tensorboard\default.py", line 36, in <module> from tensorboard.plugins.beholder import beholder_plugin File "d:\software\run\python\lib\site-packages\tensorboard\plugins\beholder\__init__.py", line 15, in <module> from tensorboard.plugins.beholder.beholder import Beholder File "d:\software\run\python\lib\site-packages\tensorboard\plugins\beholder\beholder.py", line 199, in <module> class BeholderHook(tf.estimator.SessionRunHook): AttributeError: module 'tensorflow.estimator' has no attribute 'SessionRunHook'

  • TensorBoard 1.9.0
  • tensorflow-gpu1.9.0
  • win10
  • Python3.6

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
wchargincommented, Apr 3, 2019

Hi @ZZM37! The expression tf.estimator.SessionRunHook doesn’t actually appear in TensorBoard 1.9.0 at all—it was tf.train.SessionRunHook until #1706, which first appeared in TensorBoard 1.13.0.

It sounds like you may have multiple versions of TensorBoard installed in the same environment (which won’t work out very well). Could you please run pip freeze to list the packages in your environment?

1reaction
Harshini-Gadigecommented, Apr 3, 2019

The reason could be due to the use of older version of tensorboard and tensorflow. Could you please try with the latest versions of both Tensorflow(1.13.1) and Tensorboard(1.13.1) and see if you are running into the same error.

Also please provide a small code snippet in order to reproduce the error from our end.

Read more comments on GitHub >

github_iconTop Results From Across the Web

logdir=logs ,it told me that: #1146 - tensorflow/tensorboard
When I used tensorboard as tensorboard --logdir=logs ,it told me that: #1146. Closed. Dave-he opened this issue on Apr 19, 2018 · 2...
Read more >
TensorBoard Services - Medium
TensorBoard is used for many things, and each type of task uses a different service. We have different services for each type of...
Read more >
Deep Dive Into TensorBoard: Tutorial With Examples
Let's now walk through an example where you will use TensorBoard to visualize model metrics. For that purpose, you need to build a...
Read more >
Unable to open Tensorboard in browser - Stack Overflow
I faced the same problem when used Tensorboard inside a Docker container. ... which is displayed after executing the "tensorboard --logdir=logs/" command in ......
Read more >
Can somebody tell me if Tensorboard works in kaggle kernels ...
%load_ext tensorboard.notebook %tensorboard --logdir logs. I use these two commands but the resulting error forces me to use %load_ext tensorboard instead.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found