1
make过程中报错
#error This file was generated by a newer version of protoc
原因:protobuf版本为3.5.1,需要更换成2.6.1
解决:
conda uninstall protobuf
conda install -c anaconda protobuf=2.6.1
除此之外,需要重新make一遍caffe
2
make过程报错
fatal error: caffe/proto/caffe.pb.h: No such file or directory
原因:没有caffe.pb.h文件
解决:
到caffe安装目录下
make distribute
之后回到caffe-yolov3目录下,打开CMakeLists.txt,在include路径下添加
path_to_caffe/distribute