【问题标题】:Tensorboard doesn't display the graph (HTML error)Tensorboard 不显示图表(HTML 错误)
【发布时间】:2016-02-14 07:20:33
【问题描述】:

我使用 tutorials/mnist/fully_connected_feed.py 脚本创建了带有图表的 Tensorboard 日志(我在其他脚本上也有同样的问题)。

summary_writer = tf.train.SummaryWriter("logdir", graph_def=sess.graph_def)

Tensorboard 适用于标量、图像和直方图,但不适用于图形。我得到一个白页,只有页眉。

如果我打开浏览器控制台(Firefox 42、Ubuntu 14.04),当我切换到 GRAPH 选项卡时会出现这些错误:

NS_ERROR_FAILURE:  tf-tensorboard.html-12.js:115:0
Reading graph.pbtxt : 2 ms tf-tensorboard.html.js:13:1
Reading stats.pbtxt : 0 ms tf-tensorboard.html.js:13:1
Parsing graph.pbtxt : 26 ms tf-tensorboard.html.js:13:1
Normalizing names : 10 ms tf-tensorboard.html.js:13:1
Building the data structure : 13 ms tf-tensorboard.html.js:13:1
Adding nodes : 14 ms tf-tensorboard.html.js:13:1
Detect series : 16 ms tf-tensorboard.html.js:13:1
Adding edges : 14 ms tf-tensorboard.html.js:13:1
Finding similar subgraphs : 27 ms tf-tensorboard.html.js:13:1
new tf.graph.render.Hierarchy : 17 ms tf-tensorboard.html.js:13:1
tf-graph-scene (layout): : 214 ms tf-tensorboard.html.js:13:1
tf-graph-scene (build scene): : 118 ms tf-tensorboard.html.js:13:1
NS_ERROR_FAILURE:  tf-tensorboard.html-12.js:115:0
NS_ERROR_FAILURE:  tf-tensorboard.html-6.js:76:0
TypeError: this.translate is undefined

如何解决这个问题?

【问题讨论】:

    标签: python tensorflow tensorboard


    【解决方案1】:

    据我所知,Tensorboard 只能在 Google Chrome 中运行。我在我的 Mac 上尝试了 Safari、Firefox 和 Chrome,但它只能在 Chrome 中正确显示图表。

    【讨论】:

      猜你喜欢
      • 2020-11-24
      • 2018-04-10
      • 2023-03-21
      • 2016-10-07
      • 2017-12-25
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多