在 Terminal 窗口运行下面命令的时候报错 :
tensorboard --logdir=logs --port=6007
这是因为TensorBoard 版本与 protobuf 库版本不兼容导致的,TensorBoard 2.14.0+ protobuf 3.20.0 可以解决
pip install protobuf==3.20.0
但是用我的镜像源 (https://pypi.tuna.tsinghua.edu.cn/simple)上面命令的时候报错:
换源解决
pip install install protobuf==3.20.0 -i https://pypi.mirrors.ustc.edu.cn/simple