-
Notifications
You must be signed in to change notification settings - Fork 23.6k
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
TensorBoard logging requires TensorBoard with Python summary writer installed. This should be available in 1.14 or above #20140
Comments
tensorboard --logdir=runs |
It seems that you worked? If not, maybe this link https://www.endtoend.ai/pytorch-tensorboard may help you. |
@GeniusGaryant Thank you very much 😊 |
cc @orionr The error message is confusing. Python summary writer isn't in |
1.14 hasn't been released yet (the above are just master commits), but will be in the near future. This is what we reference in the message. For now, people should install with |
In case you've already tried This can happen if you install packages via |
Also, you may have the latest
Fixed it for me. |
Next to |
I think it's a version problem. |
How to install tb-nightly? i found conda don't have this command. Do I have to use pip install tb-nightly? |
@naqute Does this work for gpu systems which are incompatible with tensorflow 1.14? My CUDA version won't support tf 1.14 :( |
Sorry, my cuda is compatible with tf 1.14.0. I can not answer your question.
…---Original---
From: "Syomantak Chaudhuri"<[email protected]>
Date: Sun, Apr 26, 2020 19:53 PM
To: "pytorch/pytorch"<[email protected]>;
Cc: "Mention"<[email protected]>;"NaQ"<[email protected]>;
Subject: Re: [pytorch/pytorch] TensorBoard logging requires TensorBoard with Python summary writer installed. This should be available in 1.14 or above (#20140)
I think it's a version problem.
just run this:
pip install tensorboard==1.14.0
(not pip install tensorboard==1.14)
@naqute Does this work for gpu systems which are incompatible with tensorflow 1.14? My CUDA version won't support tf 1.14 :(
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
THX |
Traceback (most recent call last):
File "/home/tian/.conda/envs/jiqi/lib/python3.6/site-packages/torch/utils/tensorboard/init.py", line 2, in
from tensorboard.summary.writer.record_writer import RecordWriter # noqa F401
File "/home/tian/Desktop/ai/machine-learn/Image_recognition/tensorboard.py", line 3, in
from torch.utils.tensorboard import SummaryWriter
ImportError: cannot import name 'SummaryWriter'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/tian/Desktop/ai/machine-learn/Image_recognition/tensorboard.py", line 3, in
from torch.utils.tensorboard import SummaryWriter
File "/home/tian/.conda/envs/jiqi/lib/python3.6/site-packages/torch/utils/tensorboard/init.py", line 4, in
raise ImportError('TensorBoard logging requires TensorBoard with Python summary writer installed. '
ImportError: TensorBoard logging requires TensorBoard with Python summary writer installed. This should be available in 1.14 or above
The text was updated successfully, but these errors were encountered: