使用caffe时,若使用anaconda的Python库,可能出现No module named google.protobuf.internal错误,按如下解决:
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --set show_channel_urls yes
然后可以把源改成清华大学的源,运行
conda install protobuf
本文介绍了解决在使用Caffe时遇到的Nomodulenamedgoogle.protobuf.internal错误的方法。通过更改Anaconda的Python库配置,设置清华大学源并安装Protobuf来解决问题。
1万+

被折叠的 条评论
为什么被折叠?



