在 pytorch 中使用 tensorboard,但得到空白页? [英] Using tensorboard in pytorch, but get blank page?

查看:40
本文介绍了在 pytorch 中使用 tensorboard,但得到空白页?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 pytorch 1.3.1 中使用 tensorboard,我在 pytorch 中做了完全相同的事情张量板的文档.运行 tensorboard --logdir=runs 后,我得到了这个 输入图像描述这里.

I am using tensorboard in pytorch 1.3.1, and I did exactly the same in the pytorch docs for tensorboard. After running tensorboard --logdir=runs, I got this enter image description here.

$ tensorboard --logdir=runs
TensorFlow installation not found - running with reduced feature set.
Serving TensorBoard on localhost; to expose to the network, use a proxy or pass --bind_all
TensorBoard 2.1.0 at http://localhost:6006/ (Press CTRL+C to quit)

打开 http://localhost:6006/ 后,我得到了这样的空白页面

And after opening http://localhost:6006/, I got blank page like this

我也试过 tensorboardX,得到了同样的结果.你能告诉我如何解决这个问题吗?谢谢.

I also tried tensorboardX, and got the same result. Could you please tell how to solve the problem? thx.

推荐答案

我在 Windows 上使用 Torch 1.4.0,但遇到了同样的问题.原来我已经安装了 Tensorboard 的 2.x 版本.我恢复到 1.15.0 并解决了这个问题.

I am using Torch 1.4.0 on Windows and I had the same issue. Turns out I had installed the 2.x version of Tensorboard. I reverted back to 1.15.0 and it solved the issue.

这篇关于在 pytorch 中使用 tensorboard,但得到空白页?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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