question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

writer.add_graph(mdl, args) executed without error but cannot find graphs on Tensorboard

See original GitHub issue

I am able to use TensorboardX to view scalar values without any problem. Then I decided to use the add_graph function of the same SummaryWriter to visualize the computation graph.

After a few rounds of try and error I was able to execute the add_graph function successfully. However, my Tensorboard was not updated with a view of the computation graph.

I am using Pytorch v1.0.0.

I wonder what did I miss and if not, what is the correct way to access the saved graph from Tensorboard.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
RonakDedhiyacommented, Apr 20, 2019

Hello, I am getting similar issue. I am using pytorch == 0.3.0 and tensorboardx == 1.1

I have followed demo_graph.py, add_graph() works without any error and also I have called it once. I am able to view other scalar value in tensorboard but I am unable to see any graph

0reactions
lanpacommented, Jul 4, 2019

@todpole3 I just released tensorboardX v 1.8. Would you have a try on that?

Read more comments on GitHub >

github_iconTop Results From Across the Web

TensorFlow v2: Graph does not appear on TensorBoard #1961
A graph may not appear if TensorFlow could not trace any graph during the execution. For instance, below code does not use @tf.function...
Read more >
torch.utils.tensorboard — PyTorch 1.13 documentation
Creates a SummaryWriter that will write out events and summaries to the event file. Parameters: log_dir (str) – Save directory location. Default is...
Read more >
tensorboardX documentation - Read the Docs
Creates a SummaryWriter that will write out events and summaries to the event file. Parameters: logdir – Save directory location. Default is runs/ ......
Read more >
A Complete Guide to Using TensorBoard with PyTorch
TensorBoard is a suite of web applications for inspecting and understanding your model runs and graphs. TensorBoard…
Read more >
PyTorch Tutorial 16 - How To Use The TensorBoard - YouTube
New Tutorial series about Deep Learning with PyTorch!⭐ Check out Tabnine, the FREE AI-powered code completion tool I use to help me code ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found