tensorboard :No graph definition files were found


tensoboard一直无法获取graphs。

源码为:
a = tf.constant(2)
b = tf.constant(3)
x = tf.add(a, b)
with tf.Session() as sess:
writer = tf.summary.FileWriter('D:\Logs\Add', sess.graph)
print(sess.run(x))
writer.close()

tensorboard的启动为附件:
tensorboard.png
已邀请:

yumi0926

赞同来自: kulee


cd 到上层路径 d:\Logs

要回复问题请先登录注册

返回顶部