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