Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tensorbaord 1.7 error with TensorFlow 1.8, and how to install tensorboard 1.8? #1149

Closed
YantianZha opened this issue Apr 22, 2018 · 5 comments

Comments

@YantianZha
Copy link

YantianZha commented Apr 22, 2018

  • TensorBoard version: 1.7.0
  • TensorFlow version: tensorflow-gpu-1.8.0rc0
  • OS Platform and version: Linux Ubuntu 16.04
  • Python version: 2.7

Hello,
I'm having a problem of using tensorboard 1.7 to visualize the events generated by tensorflow 1.8. The error is at bottom. I suspect a reason is I should use tensorboard 1.8 instead of 1.7. That said, I cannot find a way to install the tensorboard 1.8 separately. I know tensorflow is dependent on tensorboard, so I did a reinstallation of tensorflow 1.8 (after removing the tensorboard). But the installation of tensorflow 1.8 actually comes with installing tensorboard 1.7. So reinstalling tensorflow 1.8 still cannot resolve the problem. Thanks for helping!

Command: tensorboard --logdir=./
Error:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/local/lib/python2.7/dist-packages/tensorboard/backend/application.py", line 360, in _reload_forever
reload_multiplexer(multiplexer, path_to_run)
File "/usr/local/lib/python2.7/dist-packages/tensorboard/backend/application.py", line 334, in reload_multiplexer
multiplexer.Reload()
File "/usr/local/lib/python2.7/dist-packages/tensorboard/backend/event_processing/plugin_event_multiplexer.py", line 195, in Reload
accumulator.Reload()
File "/usr/local/lib/python2.7/dist-packages/tensorboard/backend/event_processing/plugin_event_accumulator.py", line 185, in Reload
for event in self._generator.Load():
File "/usr/local/lib/python2.7/dist-packages/tensorboard/backend/event_processing/directory_watcher.py", line 88, in Load
for event in self._LoadInternal():
File "/usr/local/lib/python2.7/dist-packages/tensorboard/backend/event_processing/directory_watcher.py", line 112, in _LoadInternal
for event in self._loader.Load():
File "/usr/local/lib/python2.7/dist-packages/tensorboard/backend/event_processing/event_file_loader.py", line 53, in Load
self._reader.GetNext(status)
TypeError: GetNext() takes exactly 1 argument (2 given)

@YantianZha
Copy link
Author

Right now I temporarily resolved the problem by replacing the "tensorboard/backend/event_processing/event_file_loader.py" with the latest version (https://github.com/tensorflow/tensorboard/edit/master/tensorboard/backend/event_processing/event_file_loader.py).

@nfelt
Copy link
Contributor

nfelt commented Apr 24, 2018

Duplicate of #1111

@nfelt nfelt marked this as a duplicate of #1111 Apr 24, 2018
@ContentAndMaterialPortrait

screenshot from 2018-08-30 10-25-06

@ContentAndMaterialPortrait

@YantianZha Thank you, your method can solve my problem.

@nfelt
Copy link
Contributor

nfelt commented Aug 31, 2018

@YouZengLi this problem is solved without a local patch if you just uninstall tensorboard entirely (both the tensorboard and tensorflow-tensorboard pip packages, if you have either one) and then reinstall tensorboard 1.8 or higher.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants