1

I've been trying to study tensorboard (from tensorflow (forked from github, using the latest version as well) and getting the above error whenever I use 'scalar' or 'histogram' functions. Why is the scalar function being pointed to tensorflow.python.summary.summary? (shouldn't it be tensorflow.python.summary?) Would be great if someone could help! I'm attaching the code here:

import tensorflow as tf
x = tf.Variable(tf.random_normal(5,5))
tf.summary.scalar('input', x)

The ouput is :

Traceback (most recent call last):
File "tensorboardetest.py", line 4, in <module>
tf.summary.scalar('input', x)
AttributeError: module 'tensorflow.python.summary.summary' has no attribute 'scalar'
1
  • tensorflow 0.8.0 ,(the git pull might have failed,i'll update it right away) Commented Dec 20, 2016 at 15:11

1 Answer 1

1

You're not actually using the latest version of TensorFlow. :)

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.