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

Text output not working (no graph is present) #38

Closed
timbmg opened this issue Sep 29, 2017 · 6 comments
Closed

Text output not working (no graph is present) #38

timbmg opened this issue Sep 29, 2017 · 6 comments

Comments

@timbmg
Copy link

timbmg commented Sep 29, 2017

When I'm trying to log text with tensorboard using this code

from tensorboardX import SummaryWriter
w = SummaryWriter("runs/test")
w.add_scalar("s", 1)
w.add_text("t", "text")

I get the following error:

ERROR:tensorflow:Attempting to process TensorSummary output, but no graph is present, so processing is impossible. All TensorSummary output will be ignored.
Adding scalars for example works.

In my tensorboard no "Text" menu item is displayed.

Logging scalars works fine.

The following versions are installed:
tensorboardX (0.8)
tensorflow (1.3.0)
tensorflow-tensorboard (0.1.7)
torch (0.2.0.post3)

@timbmg timbmg changed the title Text output not working Text output not working (no graph is present) Sep 29, 2017
@lanpa
Copy link
Owner

lanpa commented Sep 29, 2017

Can't reproduce. How did you invoke the tensorboard command?

=============
tensorboardX (0.8)
tensorflow-tensorboard (0.1.7)
Mac

@timbmg
Copy link
Author

timbmg commented Sep 29, 2017

like this tensorboard --logdir logs

@lanpa
Copy link
Owner

lanpa commented Sep 29, 2017

should be tensorboard --logdir runs if you use w = SummaryWriter("runs/test")

@timbmg
Copy link
Author

timbmg commented Sep 29, 2017

Oh yes of course. Unfortunately still the same problem.

@lanpa
Copy link
Owner

lanpa commented Sep 29, 2017

can you upload your runs folder?
runs.zip

@timbmg
Copy link
Author

timbmg commented Oct 4, 2017

The issue was with my config. Can be closed.

@lanpa lanpa closed this as completed Oct 5, 2017
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