tensorboard在windows系统浏览器显示空白的解决

一个简单的using_tensorboard.py程序,如下:

 1 #using_tensorboard.py
 2 
 3 import tensorflow as tf
 4 
 5 a = tf.constant(10,name="a")
 6 b = tf.constant(90,name="b")
 7 y = tf.Variable(a+b*2,name='y')
 8 model = tf.initialize_all_variables()
 9 
10 with tf.Session() as session:
11     merged = tf.summary.merge_all()
12     writer = tf.summary.FileWriter("/tmp/tensorflowlogs",session.graph)
13     session.run(model)
14     print(session.run(y))

 

运行以上代码后,启动tensorBoard服务:

D:\tmp\tensorflowlogs>tensorboard --logdir=.
Starting TensorBoard b'47' at http://0.0.0.0:6006

 

然后在浏览器中输入:http://localhost:6006/

结果显示是一片空白。

 

网上搜索解决方案,有说只能在chrome浏览器中显示,但试过360浏览器和Google chrome浏览器,均是如此。

后突然想到可能是版本问题,我的chrome浏览器版本号是44,最新的版本是60.于是升级到58版,结果显示基本正常。但仍然有webGL问题。

 

  

 

posted @ 2017-05-07 17:36  jack0424  阅读(8778)  评论(0编辑  收藏  举报