如何解决tensorboard显示空白的问题?

更新于
2026-08-06 03:16:34
14阅读来源:SEO资源
  • 内容介绍
  • 文章标签
  • 相关推荐

本文共计187个文字,预计阅读时间需要1分钟。

如何解决tensorboard显示空白的问题?

在Ubuntu 14.04系统上,使用Python 3.4和Chrome浏览器尝试查看TensorBoard时,发现Graph存在,但其他数据均为空白。通过分析,发现JS中存在以下错误:`Uncaught SyntaxError: Block-scoped declarations (let, const, function) not allowed in strict mode`。

ubuntu 14.04 + python3.4 + chrome, 在浏览器中查看tensorboard, 发现出了graph,其他的数据都是空白。

通过分析,发现js中如下一些错误

Uncaught SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode [duplicate]

将 /usr/local/lib/python3.4/dist-packages/tensorflow/tensorboard/dist/tf-tensorboard.html 中相关地方加入

"use strict";

得到解决。

阅读全文
标签:解决Ubuntu

本文共计187个文字,预计阅读时间需要1分钟。

如何解决tensorboard显示空白的问题?

在Ubuntu 14.04系统上,使用Python 3.4和Chrome浏览器尝试查看TensorBoard时,发现Graph存在,但其他数据均为空白。通过分析,发现JS中存在以下错误:`Uncaught SyntaxError: Block-scoped declarations (let, const, function) not allowed in strict mode`。

ubuntu 14.04 + python3.4 + chrome, 在浏览器中查看tensorboard, 发现出了graph,其他的数据都是空白。

通过分析,发现js中如下一些错误

Uncaught SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode [duplicate]

将 /usr/local/lib/python3.4/dist-packages/tensorflow/tensorboard/dist/tf-tensorboard.html 中相关地方加入

"use strict";

得到解决。

阅读全文
标签:解决Ubuntu