tensorboard显示空白

来源:互联网 发布:淘宝网货到付款购物 编辑:程序博客网 时间:2024/05/18 00:30


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";
得到解决。