-
安装
pip install tensorboard -
安装过程中遇到tensoeboard.exe找不到,参考解决:
https://blog.csdn.net/weixin_44532467/article/details/123525891
3.启动tensorboard
- 默认路径 ()
tensorboard --logdir logs
tensorboard --logdir=/path/to/logs/ --port=xxxx:
修改1:改变路径,报错
修改2 ,修改路径,去掉上下双引号和等号
tensorboard --logdir C:\WORK\xuxiu\learn\Pytorch_Study_Demo-main\xu\logs --port 9999
这种写法也可
tensorboard --logdir=C:\WORK\xuxiu\learn\Pytorch_Study_Demo-main\xu\logs --port 9999
值得注意的是:
1.=的左右都不能有空格
2.path必须是绝对路径才可以正常找到文件,/home/…
- 问题:Reusing TensorBoard on port 6006 (pid 7636), started 19:03:46 ago. (Use ‘!kill 7636’ to kill it.)
https://blog.csdn.net/liuxiang_dai/article/details/111354075