pip3 install tensorboardX
如果速度慢可以指定数据源
国内源有:
中国科学技术大学http://pypi.mirrors.ustc.edu.cn/simple/?
清华:https://pypi.tuna.tsinghua.edu.cn/simple
阿里云:http://mirrors.aliyun.com/pypi/simple/
华中理工大学:http://pypi.hustunique.com/
山东理工大学:http://pypi.sdutlinux.org/?
改造后用清华源的代码为:
pip3 install tensorboardX -i https://pypi.tuna.tsinghua.edu.cn/simple
找到后查看文件
tensorboard --logdir=./log/events.out.tfevents.1661483691.xx-Aspire-E5-571G
tensorboard:未找到命令
解决办法:
利用pip3 show tensorflow 看tensorflow有没有安装
图片显示没有安装
安装tensorflow
pip3 install tensorflow -i https://pypi.tuna.tsinghua.edu.cn/simple