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.

Download PNG is totally blank using tensorboard 1.5.0

See original GitHub issue

Issue description

Image generated on “Download PNG” is totally blank with tensorboard 1.5.0.

Image generated on “Download PNG” is fine after replaced tensorboard 1.5.0 with tensorboard 0.4.0.

Environment

  • PC 1 (GPU version): Windows 10 + Python 3.6.3 + TensorFlow-GPU 1.5.0 + Tensorboard 1.5.0 + CUDA 9.0 + cuDNN 7.0.5
  • PC 2 (CPU version): Windows 7 + Python 3.6.3 + TensorFlow 1.5.0 + Tensorboard 1.5.0
  • PC 3 (CPU version): Windows 7 + Python 3.6.3 + TensorFlow 1.5.0 + Tensorboard 1.5.0

Not tested on Linux yet.

Issue Steps

  1. Install python 3.6.3, tensorflow 1.5.0 (GPU version or CPU version).

Dependency package tensorboard 1.5.0 will be installed with tensorflow 1.5.0.

  1. Generate a log, such as the code below:
import tensorflow as tf

sess = tf.InteractiveSession()

with tf.name_scope('a'):
  a = tf.Variable(4, dtype=tf.int32)
with tf.name_scope('b'):
  b = tf.Variable(3, dtype=tf.int32)
with tf.name_scope('c'):
  c = tf.multiply(a, b)
tf.summary.scalar('output', c)

merged = tf.summary.merge_all()
summary, c_val = sess.run([merged, c], feed_dict={a: 4, b: 5})
writer = tf.summary.FileWriter(r"C:\tmp", graph=sess.graph)
writer.add_summary(summary)
writer.close()
  1. Run tensorboard --logdir=C:\tmp, then open tensorboard (port 6006) in Chrome browser.

  2. Click Download PNG on the left sidebar of TensorBoard - GRAPHS.

  • File name: graph_large_attrs_key=_too_large_attrs&limit_attr_size=1024&run=.png
  • File size: 3.06 KB
  • File pixel: 495 * 286
  1. Open the image, but the image shows nothing invalid. The image is totally blank.

Recovery Steps

  1. Download “tensorflow_tensorboard-0.4.0-py3-none-any.whl” on PYPI

  2. pip3 install tensorflow_tensorboard-0.4.0-py3-none-any.whl. After installation tensorboard 0.4.0, the tensorflow version is still 1.5.0.

  3. Use the same log in Issue Step 2. Run tensorboard --logdir=C:\tmp, then open tensorboard (port 6006) in Chrome browser.

  4. Click Download PNG on the left sidebar of TensorBoard - GRAPHS.

  • File name: graph_large_attrs_key=_too_large_attrs&limit_attr_size=1024&run=D%5C.png
  • File size: 11.9 KB
  • File pixel: 495 * 286
  1. Open the image, the image shows graph successfully.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9

github_iconTop GitHub Comments

4reactions
MrChenFengcommented, Apr 7, 2020

Everything is okay with my Tensorboard, but when I try to download PNG, the downloaded file seems to be broken?

1reaction
udithhaputhanthricommented, May 29, 2020

I think I also have the same problem. In the tensorboard on collab, download PNG gives “Failed- Forbidden” message. Is there any way to download the .png image.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to download graphs from tensorboard? - Stack Overflow
Click the checkbox "Show data download links" at the top left. This will add a download icon below the chart to download the...
Read more >
tensorboard Changelog - PyUp.io
Allow tensorboard to be run with Python 3.10 (5490) - thanks ... 924 - fixed graph dashboard bug causing blank PNG download and...
Read more >
Tensorflow for Poets - fungai.org
By default there is an empty directory called tf_filies . This is where the training images will be downloaded to. To download images...
Read more >
Rasa Open Source Change Log
All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning starting with version 1.0.
Read more >
Other pages — crYOLO documentation - Read the Docs
After training crYOLO with not more than 2,500 particles per dataset, ... All software products available for download from associated website(s), ...
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