caffe error

来源:互联网 发布:linux 固定ip 编辑:程序博客网 时间:2024/05/18 01:41

(1)caffe/proto/caffe.pb.h: No such file or director

这是因为protobuf和pillow没有安装,或者是通过apt-get安装的。使用pip重新安装一遍即可解决问题。删除caffe-mast(提前保存Makefile.config和Makefile),解压,解压重新编译。

<code class="hljs avrasm has-numbering">pip install protobuf --upgrade -i http://pypi<span class="hljs-preprocessor">.douban</span><span class="hljs-preprocessor">.com</span>/simple pip install pillow --upgrade -i http://pypi<span class="hljs-preprocessor">.douban</span><span class="hljs-preprocessor">.com</span>/simple</code>
0 0
原创粉丝点击