TensorBoard 不工作 [英] TensorBoard not working

查看:33
本文介绍了TensorBoard 不工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以很好地使用 TensorFlow.但我还不能使用 TensorBoard.我正在按照 tensorflow.org 的 可视化学习页面.

I'm able to use TensorFlow just fine. But I can't yet use TensorBoard at all. I'm following the instructions on tensorflow.org's Visualizing Learning page.

当我跑步时

tensorboard --logdir=/tmp/mnist_logs --debug

我得到以下内容

INFO:tensorflow:TensorBoard is in debug mode.
INFO:tensorflow:Starting TensorBoard in directory /private/tmp/mnist_logs
INFO:tensorflow:TensorBoard path_to_run is: {'/tmp/mnist_logs': None}
INFO:tensorflow:Adding events from directory /tmp/mnist_logs
INFO:tensorflow:Constructing EventAccumulator for /tmp/mnist_logs
DEBUG:tensorflow:Opening a record reader pointing at /tmp/mnist_logs/events.out.tfevents.1457792617.Rafaels-MacBook-Air
WARNING:tensorflow:IOError [Errno 2] No such file or directory: '/usr/local/lib/python3.5/site-packages/tensorflow/tensorboard/TAG' on path /usr/local/lib/python3.5/site-packages/tensorflow/tensorboard/TAG
WARNING:tensorflow:Unable to read TensorBoard tag
Starting TensorBoard  on port 6006
(You can navigate to http://0.0.0.0:6006)
DEBUG:tensorflow:No more events in /tmp/mnist_logs/events.out.tfevents.1457792617.Rafaels-MacBook-Air
INFO:tensorflow:No more files in /tmp/mnist_logs
DEBUG:tensorflow:No more events in /tmp/mnist_logs/events.out.tfevents.1457792617.Rafaels-MacBook-Air
INFO:tensorflow:No more files in /tmp/mnist_logs
INFO:tensorflow:Multiplexer done loading. Load took 0.9 secs

如果我导航到 http://0.0.0.0:6006,我会看到一个空白页面.

If I nagivate to http://0.0.0.0:6006, I see a blank white page.

[堆栈:OSX、Google Chrome、Python 3、通过 pip 安装的 TensorFlow]

[Stack: OSX, Google Chrome, Python 3, TensorFlow installed via pip]

推荐答案

尝试导航到 localhost:6006(等效http://127.0.0.1:6006/).

Try navigating to localhost:6006 instead (equivalent to http://127.0.0.1:6006/).

它对我来说很好,而 http://0.0.0.0:6006 没有产生任何结果.

It works fine for me while http://0.0.0.0:6006 yields no result.

这篇关于TensorBoard 不工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆