-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
TypeError with GetNext() for TF 1.8+ or 1.7 source #1111
Comments
You noted compiling TensorBoard from source. Could you make sure that the source you are compiling from includes #1086? |
Sorry it was a typo, I compiled tensorflow from source and tensorboard is compiled too. I used the latest master commit (commit 8b5212011c7b67b7f8c2ea1b641aa0a7151c82d0). Also I just reinstalled (again from source) in a new virtual environment and got the same error. |
TensorBoard's 1.7 branch excludes #1086, so would you be open to installing TensorBoard's nightly build via |
It solves the problem, thanks! |
yay |
Thanks advaza for reporting this, and thanks chihuahua for guiding how to solve it. I faced the same problem and indeed the night built solves it. |
Thanks advaza for reporting this, and thanks chihuahua for guiding how to solve it. I faced the same problem and indeed the night built solves it. |
|
for those who build from the source, tag: v1.8.0 commit 93bc2e doesn't have this problem, tag v1.8.0-rc1 has this problem |
TensorBoard 1.8.0 fixes this issue. If you're still seeing this issue, try |
pip install tb-nightly solves my problem. By the way, what's the funciton of tb-nightly? |
I am using the latest version of tensorflow and tensorboard, installed via pip: 1.8.0 and 1.8.0 |
@martin-gorner Could you provide stack traces and logs? Does |
I also faced this issue. Nothing mentioned above was working for me. It was then I noticed that when I launched tensorboard it's version was 1.5 even though after installing tensorboard >=1.8 . I ran |
same here, I had to uninstall tensorflow-tensorboard manually |
Only the last solution worked for me: |
If you are running different versions of tensorflow/tensorboard make sure you are running the right version to monitor the right experiments. conda environments help for this. I got this error running tensorboard 1.8.0 trying to monitor tensorflow 1.4.1 experiments. |
Got this error when using tensorflow and tensorboard 1.7.0.Upgrading to tensorboard 1.8.0 fixed the issue, as @nfelt mentioned above. |
@chihuahua thank you. |
Hi,
I upgraded my tensorflow library to 1.7, and now I get an error when executing tensorboard.
System description:
Error:
(tensorflow)/home/username$ tensorboard --logdir=/mydir/log
2018-04-07 01:56:45.493235: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:898] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2018-04-07 01:56:45.493638: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1356] Found device 0 with properties:
name: TITAN X (Pascal) major: 6 minor: 1 memoryClockRate(GHz): 1.531
pciBusID: 0000:02:00.0
totalMemory: 11.91GiB freeMemory: 11.74GiB
2018-04-07 01:56:45.493651: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1435] Adding visible gpu devices: 0
2018-04-07 01:56:45.637711: I tensorflow/core/common_runtime/gpu/gpu_device.cc:923] Device interconnect StreamExecutor with strength 1 edge matrix:
2018-04-07 01:56:45.637737: I tensorflow/core/common_runtime/gpu/gpu_device.cc:929] 0
2018-04-07 01:56:45.637741: I tensorflow/core/common_runtime/gpu/gpu_device.cc:942] 0: N
Exception in thread Reloader:
Traceback (most recent call last):
File "/home/username/anaconda2/envs/tensorflow/lib/python3.5/threading.py", line 914, in _bootstrap_inner
self.run()
File "/home/username/anaconda2/envs/tensorflow/lib/python3.5/threading.py", line 862, in run
self._target(*self._args, **self._kwargs)
File "/home/username/anaconda2/envs/tensorflow/lib/python3.5/site-packages/tensorboard/backend/application.py", line 360, in _reload_forever
reload_multiplexer(multiplexer, path_to_run)
File "/home/username/anaconda2/envs/tensorflow/lib/python3.5/site-packages/tensorboard/backend/application.py", line 334, in reload_multiplexer
multiplexer.Reload()
File "/home/username/anaconda2/envs/tensorflow/lib/python3.5/site-packages/tensorboard/backend/event_processing/plugin_event_multiplexer.py", line 195, in Reload
accumulator.Reload()
File "/home/username/anaconda2/envs/tensorflow/lib/python3.5/site-packages/tensorboard/backend/event_processing/plugin_event_accumulator.py", line 185, in Reload
for event in self._generator.Load():
File "/home/username/anaconda2/envs/tensorflow/lib/python3.5/site-packages/tensorboard/backend/event_processing/directory_watcher.py", line 88, in Load
for event in self._LoadInternal():
File "/home/username/anaconda2/envs/tensorflow/lib/python3.5/site-packages/tensorboard/backend/event_processing/directory_watcher.py", line 112, in _LoadInternal
for event in self._loader.Load():
File "/home/username/anaconda2/envs/tensorflow/lib/python3.5/site-packages/tensorboard/backend/event_processing/event_file_loader.py", line 53, in Load
self._reader.GetNext(status)
TypeError: GetNext() takes 1 positional argument but 2 were given
TensorBoard 1.7.0 at http://my-computer:6006 (Press CTRL+C to quit)
Thanks!
Adva
The text was updated successfully, but these errors were encountered: