Caffe安装过程错误处理方法

1. 错误1:

 fatal error: caffe/proto/caffe.pb.h: No such file or directory

  解决方法:

You need to generate caffe.pb.h manually using protoc as follows.

In the directory you installed Caffe to

protoc src/caffe/proto/caffe.proto --cpp_out=.
mkdir include/caffe/proto
mv src/caffe/proto/caffe.pb.h include/caffe/proto

出处:

https://github.com/BVLC/caffe/issues/1761

 

2. 错误2

/caffe: error while loading shared libraries: libhdf5_hl.so.10

解决方法:

  • cd /usr/lib/x86_64-linux-gnu
  • sudo ln -s libhdf5.so.7 libhdf5.so.10
    sudo ln -s libhdf5_hl.so.7 libhdf5_hl.so.10
  • sudo ldconfig

出处:

https://github.com/BVLC/caffe/issues/1463

 

posted on 2017-01-12 12:00  兔子二  阅读(282)  评论(0编辑  收藏  举报

导航