解决tensorboard可视化无法打开以及No dashboards are active for the current data set的问题
dashboard
General-purpose web UI for Kubernetes clusters
项目地址:https://gitcode.com/gh_mirrors/da/dashboard
免费下载资源
·
解决tensorboard可视化无法打开以及No dashboards are active for the current data set的问题
在做人脸相关项目时,需要观察loss、lr等相关指标的趋势,tensorboard是一个很好的选择,但是在使用过程中,遇到以下问题,在此记录解决过程。
1.解决Tensorboard可视化无法显示网页,显示网页拒绝连接等问题;
首先在程序运行后,利用tensorboard --logdir logs
命令在pycharm的terminal 中调出tensorboard,
(tensorflow-gpu) E:\Python\Practice_codes>tensorboard --logdir logs
TensorBoard 1.14.0 at http://DESKTOP-V19RE0F:6006/ (Press CTRL+C to quit)
然后显示:
修改过程如下:
- 确保电脑名称为英文,而非中文;
- 注意命令输入正确以及输入时的路径正确;
- 检查logs文件夹下是否存在events文件;
- 使用
tensorboard --logdir logs --host=127.0.0.1
命令代替tensorboard --logdir logs
(tensorflow-gpu) E:\Python\Practice_codes>tensorboard --logdir logs --host=127.0.0.1
TensorBoard 1.14.0 at http://127.0.0.1:6006/ (Press CTRL+C to quit)
2.解决Tensorboard显示No dashboards are active for the current data set. Probable causes: You haven’t written any data to your event files. TensorBoard can’t find your event files.问题;
在执行tensorboard --logdir logs --host=127.0.0.1
后,点击链接后进入网页,但是显示如下:
解决过程如下:
1.检查命令是否输入错误;
2.将命令中的路径修改为绝对路径,注意不要多加空格以及标点;
3.更换浏览器尝试;
(tensorflow-gpu) E:\Python\Practice_codes>tensorboard --logdir=E:\Py
thon\Practice_codes\face_attribute\logs --host=127.0.0.1
TensorBoard 1.14.0 at http://127.0.0.1:6006/ (Press CTRL+C to quit)
I0116 11:24:19.123383 20536 _internal.py:225] 127.0.0.1 - - [16/Jan/2022 11:24:1
9] "GET / HTTP/1.1" 200 -
I0116 11:24:19.803025 7880 _internal.py:225] 127.0.0.1 - - [16/Jan/2022 11:24:1
9] "GET /font-roboto/oMMgfZMQthOryQo9n22dcuvvDin1pK8aKteLpeZ5c0A.woff2 HTTP/1.1"
200 -
...
再次根据链接进入网页后,显示正常,如下图:
总结:
- 进入tensorboard时,命令使用
tensorboard --logdir logs --host=127.0.0.1
; - 将路径修改为绝对路径,
tensorboard --logdir=E:\Py thon\Practice_codes\face_attribute\logs --host=127.0.0.1
,切莫等号两边多加空格及其他标点;
参考:
No dashboards are active for the current data set. 解决tensorboard无法启动和显示问题(pycharm启动)
tensorboard 可视化 No dashboards are active for the current data set.
GitHub 加速计划 / da / dashboard
14.17 K
4.13 K
下载
General-purpose web UI for Kubernetes clusters
最近提交(Master分支:3 个月前 )
9a476333
Bumps [jest-preset-angular](https://github.com/thymikee/jest-preset-angular) from 14.2.0 to 14.2.2.
- [Release notes](https://github.com/thymikee/jest-preset-angular/releases)
- [Changelog](https://github.com/thymikee/jest-preset-angular/blob/main/CHANGELOG.md)
- [Commits](https://github.com/thymikee/jest-preset-angular/compare/v14.2.0...v14.2.2)
---
updated-dependencies:
- dependency-name: jest-preset-angular
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 3 个月前
11b7e82e
Bumps [cypress](https://github.com/cypress-io/cypress) from 13.13.1 to 13.13.2.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/cypress-io/cypress/compare/v13.13.1...v13.13.2)
---
updated-dependencies:
- dependency-name: cypress
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 3 个月前
更多推荐
已为社区贡献5条内容
所有评论(0)