Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

scalar_summary deprecation warning #41

Closed
ibadami opened this issue Dec 12, 2016 · 4 comments
Closed

scalar_summary deprecation warning #41

ibadami opened this issue Dec 12, 2016 · 4 comments

Comments

@ibadami
Copy link

ibadami commented Dec 12, 2016

Hi, I use tensorflow_gpu-0.12.0rc1-cp34-cp34m-linux_x86_64 and prettytensor-0.7.1 with python 3.4.
when running the tensorboard I get following warning

WARNING:tensorflow:From /home/badami/Codes/deeplearning/tensorflow3/lib/python3.4/site-packages/prettytensor/bookkeeper.py:243 in add_scalar_summary.: scalar_summary (from tensorflow.python.ops.logging_ops) is deprecated and will be removed after 2016-11-30.
Instructions for updating:
Please switch to tf.summary.scalar. Note that tf.summary.scalar uses the node name instead of the tag. This means that TensorFlow will automatically de-duplicate summary names based on the scope they are created in. Also, passing a tensor or list of tags to a scalar summary op is no longer supported.

I also do not see any graph on the tensorboard. I am not sure if my code is incorrect or this warning is the reason I do not see the graph.

@eiderman
Copy link
Contributor

The lack of graph should be unrelated to the error since it just maps to the new API call.

How are you running your graphs and have you seen the graphs before?

@ibadami
Copy link
Author

ibadami commented Dec 13, 2016

The graphs are back on! It was a mistake in my code. Thank you for answering the issue.

@Hvass-Labs
Copy link

I also get this warning when running my tutorials using PrettyTensor v.0.7.1 and TensorFlow v.0.12.0-rc1

https://github.com/Hvass-Labs/TensorFlow-Tutorials/blob/master/03_PrettyTensor.ipynb

I get a huge list of these warnings:

WARNING:tensorflow:From /home/magnus/anaconda3/envs/tf/lib/python3.5/site-packages/prettytensor/bookkeeper.py:243 in add_scalar_summary.: scalar_summary (from tensorflow.python.ops.logging_ops) is deprecated and will be removed after 2016-11-30.
Instructions for updating:
Please switch to tf.summary.scalar. Note that tf.summary.scalar uses the node name instead of the tag. This means that TensorFlow will automatically de-duplicate summary names based on the scope they are created in. Also, passing a tensor or list of tags to a scalar summary op is no longer supported.

I want to update my tutorials with the API-changes you have made to softmax_classifier() but I don't want these huge lists of warnings. Would it be possible to fix the warnings soon? Thanks!

@eiderman
Copy link
Contributor

I've just pushed an update to pip and a branch here to cherry pick the deprecation notice fixes from master branch. Please reopen if these continue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants