我正在尝试使用Tensorboard,但每次使用Tensorflow运行任何程序时,当我转到localhost:6006查看可视化时都会出现错误
以下是我的代码
a = tf.add(1, 2,)
b = tf.multiply(a, 3)
with tf.Session() as sess:
writer = tf.summary.FileWriter("output", sess.graph)
print(sess.run(b))
writer.close()
当我转到命令提示符并输入
tensorboard --logdir=C:\path\to\output\folder
它返回的是
TensorBoard 0.1.8 at http://MYCOMP:6006 (Press CTRL+C to quit)
当我转到localhost:6006时,它显示
当前数据集没有处于活动状态的仪表板。可能的原因:-您尚未向事件文件中写入任何数据。- TensorBoard找不到您的事件文件。
我已经查看了这个链接(Tensorboard: No dashboards are active for the current data set),但它似乎没有解决这个问题
我在Windows 10上运行此程序
我该怎么做来解决这个问题?我在命令提示符下给出了Tensorboard的正确路径吗?
提前谢谢你
https://stackoverflow.com/questions/47113472
复制相似问题