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
ImportError: cannot import name 'SummaryWriter' #19
Comments
I think it's the same case as mentioned in #17, and |
You are right. |
from tensorboard import summary as summary_lib When I was running the following command, an error occurred. I'm sorry to bother you, but please help me anyway (n2n) [410@mu01 noise2noise-master]$ python config.py validate --dataset-dir=datasets/kodak --network-snapshot=results/network_final-gaussian-n2c.pickle |
@YangSN0719 It should be from tensorboardX, not tensorboard. |
hello, i have problem please help
|
I meet this too,have you solved this?/(ㄒoㄒ)/~~ |
i installed using conda tensorboardx 2.4 |
@iszff @soans1994 Please update to python3 for the newer tensorboardX. I should have release the package with a correct metadata. sorry. |
I installed using conda, and run with pytorch, but the wrong below still, how can solve the problem? Traceback (most recent call last): |
Traceback (most recent call last):
More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates |
Downgrade protobuf: If upgrading protobuf doesn't solve the issue, you can try downgrading it to a version <= 3.20.x. You can install a specific version like this: |
I do not use anaconda, I install tensorboard-pytorch and tensorflow py pip in the virtual enviroment.
I tried,
from tensorboard import SummaryWriter
, it complains as the title. However, I find the SummaryWriter is in the writer.py in tensorboard, so I have to usefrom tensorboard.writer import SummaryWriter
. Where am I wrong?The text was updated successfully, but these errors were encountered: