无法打开tensorboard 0.0.0.0:6006或localhost:6006

R.W*_*all 17 python tensorflow tensorboard

当我在wind中使用cmd中的tensorboard时

D:\ python document\tensorflow> tensorboard --logdir = D:\ python document\tensorflow在http://0.0.0.0:6006开始TensorBoard b'47'

但是,当我打开网页时,它会显示出来

"dial tcp 0.0.0.0:6006:connectex:请求的地址在其上下文中无效."

然后我尝试了localhost:6006,它显示了

"没有找到标量数据."

那我该怎么办呢

Joh*_*Lai 51

请参阅tensorflow问题#9701.

tensorboard --logdir==training:your_log_dir --host=127.0.0.1在命令提示符下运行,并输入localhost:6006chrome,这适用于我(Win10,anaconda4.3.16,python3.5.3,tensorflow1.1.0).


Col*_*ang 8

@ Johnson Lai的解决方案(tensorboard --logdir==training:log_dir --host=127.0.0.1)是有效的,只需添加--host=127.0.0.1在commond尾部.

但你应该log_dir用自己的替换log dir.

提示:log dir,日志文件(文件夹)中喜欢run-20180422085300.


这是我的考试!

在anywhrer中启动你的cmd:

运行commond tensorboard --logdir [your log dir] --host=127.0.0.1

要么

使用log dir或commond启动cmd cd [your log dir]

运行commond tensorboard --logdir ./ --host=127.0.0.1

我更喜欢第二种方法!