参考博客1.https://blog.csdn.net/xuemei0501/article/details/110272753
参考博客2.https://blog.csdn.net/qq872890060/article/details/100546719
参考博客3.https://blog.csdn.net/lebronjames_23/article/details/81178688
tensorboard --logdir=log
log是存放图文件的文件夹,出现题目中问题ValueError: Not a TBLoader or TBPlugin subclass
开始尝试将tensorboard.exe的路径(在anaconda路径下搜索可以得到)添加到path来解决问题,参考链接3
之后依然报同样的错误,之后
直接使用如下命令
pip uninstall tensorboard-plugin-wit
只卸载这个即可,千万别把tensorboard也卸载了!
之后不出现题目中问题出现如下结果:
TensorBoard 1.14.0 at http://DESKTOP-5VRSMCD:6006/ (Press CTRL+C to quit)
根据博客2资料显示,解决方法
tensorboard --logdir=文件夹路径 --host=127.0.0.1
(指定路径后就可以访问了)