admin管理员组文章数量:1612097
第一种情况,路径不对
测试代码
import tensorflow as tf
# 定义一个简单的计算图,实现向量加法的操作。
input1 = tf.constant([1.0, 2.0, 3.0], name = 'input1')
input2 = tf.Variable(tf.random_uniform([3]), name = 'input2')
output = tf.add_n([input1, input2], name = 'add')
# 生成一个写日志的writer,并将当前的tensorflow计算图写入日志。
# tensorflow提供了多种写日志文件的API
writer = tf.summary.FileWriter('G:/tf', tf.get_default_graph())
writer.close()
在G盘下会生成tf文件夹,只需要
只需要如下就可以。
第二种情况是因为tensorflow版本的问题,只有graphs显示,其他的显示没有
本文标签: 错误情况ActivedashboardsTensorBoard
版权声明:本文标题:tensorboard可视化出现No dashboards are active for the current data set错误的解决和其它情况 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://m.elefans.com/xitong/1728629197a1166886.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论