0
我通过点下载tensorflow。 这里是我的代码:窗口tensorboard不工作(无图)
import tensorflow as tf
a = tf.constant(3.0)
b = tf.constant(5.0)
c = a * b
c_summary = tf.summary.scalar("point", c)
merged = tf.summary.merge_all()
with tf.Session() as sess:
writer = tf.summary.FileWriter("./board/sample_1", sess.graph)
result = sess.run([merged])
tf.global_variables_initializer().run()
writer.add_summary(result[0])
writer.close()
其实,我想测试tensorboard,而这种代码的来源是http://pythonkim.tistory.com/39。
这个文件是在d:\ MYNAME \ python的研究\ TensorFlow \,我开始tensorboard这样
tensorboard --logdir=./board/sample_1
,也喜欢这个
tensorboard --logdir=./board
在d:\ MYNAME \蟒蛇研究\ tensorFlow ,我看到这个页面:watch image here
窗口10,tensorflow 1.0,Chrome浏览器
注意:./board/sample_1中有事件文件。
点击“图形”选项卡上。你在“标量”选项卡上,但是你没有提供任何标量摘要。 – Neal