-
Notifications
You must be signed in to change notification settings - Fork 190
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
cannot import name FileWriter #11
Comments
I have solved this problem. |
@hoseong-kim |
@hoseong-kim The dependency while setting up StackGan++ is tensorboard-pytorch and not tensorboard. |
@happytaoxiaoli |
You can install tensorboard-pytorch using the command from here : |
If you install tensorboard-pytorch, do you have to modify the code? or do you need to change the path to reflect the dependency? |
I think this is mainly because of the version mismatch. I'v met the same problem before, and I solved it by changing a lower version of tensorboard . |
@tristangao Which version you used please? |
Use tensorboard-pytorch (
instead of:
|
One can avoid importing FileWriter from tensorboard
|
File "/home/txl/TF-Projects/GAN/StackGAN-v2-master/code/trainer.py", line 20, in
from tensorboard import FileWriter
ImportError: cannot import name FileWriter
I found that tensorboard has no model named FileWriter.
anyone can tell me how to resolve this problem ?
The text was updated successfully, but these errors were encountered: