安装 profile-plugin 后在 tensorboard 中找不到 Profile 按钮 [英] Could not find a Profile button in tensorboard after install profile-plugin

查看:164
本文介绍了安装 profile-plugin 后在 tensorboard 中找不到 Profile 按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

张量板版本:2.3.0

Tensorboard version: 2.3.0

在 Tensorboard 上安装 profile-plugin 之前:

before I install profile-plugin on Tensorboard:

所以我按照那个顺序:

pip install -U tensorboard-plugin-profile

> Successfully installed tensorboard-plugin-profile-2.3.0

和下一次,仍然在tensorboard中找到一个Profile按钮

and the next time, still find a Profile button in tensorboard

我尝试使用此 URL http://localhost:6006/#profile 打开个人资料

I tried to use this URL http://localhost:6006/#profile to open profile

但它显示当前数据集没有活动的仪表板.

but it shows No dashboards are active for the current data set.

推荐答案

问题分析

您的问题听起来像是在使用虚拟环境.可能是您混淆了环境内外的软件包安装.

Problem Analysis

Your problem sounds like you are using a virtual environment. Probably, you mixed up package installations within and outside of the environment.

例如,您可能在虚拟环境中安装了 TensorBoard 和插件,但在调用 TensorBoard 时忘记激活环境.因此,调用了另一个 TB 实例(没有配置文件插件).

For instance, you might have installed TensorBoard and the plugin in the virtual environment, but forgot activating the environment when calling TensorBoard. Therefore, another instance of TB (without the profile plugin) is called.

确保你已经安装

  • 张量流
  • TensorBoard
  • 个人资料插件

都在虚拟环境中.启动 TensorBoard 时,请确保虚拟环境已激活.

all within the virtual environment. When starting TensorBoard, be sure that the virtual environment is activated.

在 TensorBoard 中,您应该会在下拉菜单中看到分析器.请注意订单可能已更改;您会在最底部找到分析器:参见 TB 屏幕截图.(抱歉,我是 StackOverflow 的新手,还不能嵌入图像.)或者,您可以直接使用您指定的 URL:http://localhost:6006/#profile

Within TensorBoard, you should then see the profiler in the dropdown menu. Beware that the order might have changed; you will find the profiler at the very bottom: see TB screenshot. (Sorry, I'm new at StackOverflow and can not embed images yet.) Alternatively, you can directly use your stated URL: http://localhost:6006/#profile

如果这在虚拟环境中不起作用,您可以尝试在虚拟环境外部安装上面列出的东西.如果您在虚拟环境之外启动 TB,那么您应该能够使用分析器.

If this does not work within the virtual environment, you could try installing the above-listed things outside of your virtual environment. If you start TB outside of the virtual environment then, you should be able to use the profiler.

还要确保您使用的是 Chrome 浏览器,因为其他浏览器会显示一些问题,尤其是分析器.

Also make sure you are using the Chrome browser, as other browsers show some issues, especially with the profiler.

这篇关于安装 profile-plugin 后在 tensorboard 中找不到 Profile 按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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