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

SummaryWriter object has no attribute 'add_pr_curve' #72

Closed
fengziyue opened this issue Jan 27, 2018 · 7 comments
Closed

SummaryWriter object has no attribute 'add_pr_curve' #72

fengziyue opened this issue Jan 27, 2018 · 7 comments

Comments

@fengziyue
Copy link

when I run demo.py it occurred this ArrtibuteError

ubuntu 16.04
python 2.7
tensorflow 1.4
tensorboard 0.4

@fengziyue
Copy link
Author

@lanpa

@lanpa
Copy link
Owner

lanpa commented Jan 27, 2018 via email

@fengziyue
Copy link
Author

@lanpa I found that my tensorboardX version is 0.8 (installed via native pip). I uninstalled it and install 1.0 version. Then the demo.py executed properly.
but when I run tensorboard it occurred this error:

fzyue@fzyue:/Documents/tensorboardX$ python demo.py
fzyue@fzyue:
/Documents/tensorboardX$ tensorboard --logdir runs
Starting TensorBoard 41 on port 6006
(You can navigate to http://127.0.1.1:6006)
ERROR:tensorflow:Attempting to process TensorSummary output, but no graph is present, so processing is impossible. All TensorSummary output will be ignored.

@lanpa
Copy link
Owner

lanpa commented Jan 27, 2018

TensorBoard 41 looks like wired.
what is the output of pip list|grep tensor?

@fengziyue
Copy link
Author

@lanpa
it outputs:
tensorboard (1.0.0a6)
tensorboardX (1.0)
tensorflow-gpu (1.4.0)
tensorflow-tensorboard (0.4.0rc3)

what is the difference between tensorboard and tensorflow-tensorboard?

@lanpa
Copy link
Owner

lanpa commented Jan 27, 2018

tensorflow-tensorboard is the official one.
tensorboard is not.
I think remove both of them and the install tensorflow-tensorboard only will be fine.

@fengziyue
Copy link
Author

@lanpa Thank you!
I solved my problem by removing them and reinstall tensorflow-tensorboard !

@lanpa lanpa closed this as completed Feb 7, 2018
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

2 participants