无法打开张量板的浏览器

cannot open browser for tensorboard

我 运行 mnist_wiht_summaries 和 运行 tensorboard 指向同一个日志目录。似乎 tensorboard 运行 成功显示:

Starting TensorBoard 47 at http://0.0.0.0:6006
(Press CTRL+C to quit)

但是当我打开 http:/0.0.0.0:6006 时它显示

Network Error (tcp_error)

A communication error occurred: "" The Web Server may be down, too busy, or experiencing other problems preventing it from responding to requests. You may wish to try again at a later time.

For assistance, contact your network support team.

我自己也遇到过好几次这个问题。您可以做的是通过外部 IP 地址访问您的计算机。

只需运行 ipconfig (windows) 或 ifconfig (linux) 找到ip地址,然后在该地址打开浏览器,例如10.153.82.75:6006.

在某些情况下,访问 localhost:6006 似乎也有效。

这通常可以通过使用 http://localhost:6006

来解决