Tensorboard 不显示图形(HTML 错误)

编程入门 行业动态 更新时间:2024-10-22 14:02:21
本文介绍了Tensorboard 不显示图形(HTML 错误)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

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

I created Tensorboard logs with a graph, using the tutorials/mnist/fully_connected_feed.py script (I also have the same issue on other scripts).

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

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

The Tensorboard works well for Scalars, Images and Histograms, but not for graphs. I get a white page, with only the header.

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

If I open the browser console (Firefox 42, Ubuntu 14.04), I get those errors when I switch to the GRAPH tab:

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

如何解决这个问题?

推荐答案

据我所知,Tensorboard 仅适用于 Google Chrome.我在 Mac 上尝试了 Safari、Firefox 和 Chrome,但它只能在 Chrome 中正确显示图表.

Tensorboard is only working in Google Chrome as far as I can tell. I tried Safari, Firefox and Chrome on my Mac and it only showed the graph properly in Chrome.

更多推荐

Tensorboard 不显示图形(HTML 错误)

本文发布于:2023-07-18 12:53:04,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1144972.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:图形   错误   Tensorboard   HTML

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!