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.

get warnings for tensorboard : summary name is illegal

See original GitHub issue

After I add tensorboard into callbacks, it shows warning of summary name format is illegal. I suspect it could be caused by the keras model summary format.

warnings

INFO:tensorflow:Summary name convolution2d_1_W:0 is illegal; using convolution2d_1_W_0 instead.

code

tensorboard = keras.callbacks.TensorBoard(
    log_dir='tensorboard/esc_example/' + name + '/', 
    write_graph=True,
    histogram_freq=1
)

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:12
  • Comments:14 (2 by maintainers)

github_iconTop GitHub Comments

9reactions
SeaFXcommented, Jun 6, 2017

The same issue, sorted out by replacing variable.name with variable.name.replace(‘:’,‘_’)

The summary names do not like :

5reactions
hipoglucidocommented, Apr 25, 2017

I am having also this issue. But I only get that when I am running on Jupyter notebook. I don’t see any of that while running from a .py script

Read more comments on GitHub >

github_iconTop Results From Across the Web

INFO:tensorflow:Summary name conv2d_1/kernel:0 is illegal
I am trying to use the tensorboard callback in keras. When I run the pretrained inceptionv3 model with the tensorboard callback I am...
Read more >
| notebook.community
Let's get acquainted with the TensorBoard Callback. ... INFO:tensorflow:Summary name conv2d_1/kernel:0 is illegal; using conv2d_1/kernel_0 instead.
Read more >
tf.summary.text | TensorFlow v2.11.0
A name for this summary. The summary tag used for TensorBoard will be this name prefixed by any active name scopes. data, A...
Read more >
Tensorboard Integration - fastai dev - fast.ai Course Forums
... otherwise you get warnings like this: Summary name /metrics/valid_loss is illegal; using metrics/valid_loss instead.
Read more >
806541 – sci-libs/tensorflow-2.5.0-r1: won't ... - Gentoo's Bugzilla
Trying to load a model I get the following error: cpp_shape_inference_pb2. ... StringUnsafe WARNING: Use --illegal-access=warn to enable warnings of further ...
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