【发布时间】:2017-04-28 14:37:26
【问题描述】:
这是一个使用 tensorflow 在计算图中创建单个节点的简单代码:
import tensorflow as tf
tf.constant(5)
writer = tf.summary.FileWriter('./path', tf.Session().graph)
writer.close()
当我尝试使用 tensorboard 可视化此图表时,没有显示图表。这是我的终端代码:
tensorboard --logdir=[![enter image description here][1]][1]path --port 6006
我的代码有什么问题?
【问题讨论】:
标签: python tensorflow tensorboard