Tensorboard 在浏览器和 vscode 中不显示任何内容 [英] Tensorboard shows nothing in browser and vscode

查看:99
本文介绍了Tensorboard 在浏览器和 vscode 中不显示任何内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我运行了我的代码并得到了一个带有日志的 tfevent 文件.

I ran my code and got a tfevent file with log.

当我跑步时

tensorboard --inspect --logdir Path

find path | grep tfevent

返回结果没有问题

在我的环境中,tensorboard 和 tensorboardX 的版本分别为 2.5.0 和 2.2

In my environement, the versions of tensorboard and tensorboardX are 2.5.0 and 2.2

我使用了 tensorboard --logdir=Path 并且它在浏览器中启动.但它在左上角显示了一个带有 tensorboard 标志的空白页面.

I used tensorboard --logdir=Path and it launched in browser. But it showed a blank page with tensorboard logo at top left.

与此相同,我也在 vscode 中尝试使用 tensorboardX 集成的 tensorboard abd 显示相同的内容.

As same as that, I also tried it in vscode by using tensorboardX integrated tensorboard abd it showed the same content.

最后在Colab中试了一下,效果很好,说明我的文件没有问题.

At last, I tried it in Colab and it worked well, meaning that there is no problem for my file.

所以我真的对我的环境设置问题感到困惑.我将不胜感激您的帮助!

So I am really confused about the problems about my environment setting. I will be appreciate for your help!

推荐答案

这似乎对我有用:

pip uninstall torch-tb-profiler

在此处查看更多信息:Tensorboard 永远加载/不加载 vs 代码也不在终端

这篇关于Tensorboard 在浏览器和 vscode 中不显示任何内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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