【发布时间】:2018-01-01 02:28:18
【问题描述】:
我正在尝试运行张量板。我根据 tensorboard 网站制作了一个简单的代码。有谁知道这个问题的解决方案?谢谢
import tensorflow as tf
node1 = tf.constant(3.0, dtype=tf.float32)
node2 = tf.constant(4.0)
node3 = tf.add(node1, node2)
sess = tf.Session()
writer=tf.summary.FileWriter('/Users/jenny/Desktop/file')
writer.add_graph(sess.graph)
在终端中,这是我运行的
$ tensorboard --logdir /Users/jenny/Desktop/file
结果:
Starting TensorBoard 54 at http://jennys-iMac.local:6006
我粘贴了地址,(http://jennys-iMac.local:6006),and a sign claiming the DNS address could not be found appeared.
当我按照Robcarney的建议尝试http://localhost:6006时,虽然原来的问题已经修复,there is no data shown; this occured for every one of the tabs
【问题讨论】:
标签: python machine-learning tensorflow tensorboard