由于caffe安装编译时不完整,所以导致目录下没有caffe.bin文件
转载
https://blog.csdn.net/c20081052/article/details/80043110
(手写识别过程可以参考这个博客的)
没有caffe.bin需要重新编译
make clean
make all
这里出现错误一定要排除,我出现的错误是
collect2: error: ld returned 1 exit status make: *** [.build_release/examples/cpp_classification/classification.bin] Error 1
解决方法:
那是因为你用了opencv 3.x的缘故,只需在Makefile的最后一行加上:
LIBRARIES += glog gflags protobuf leveldb snappy
lmdb boost_system boost_filesystem hdf5_hl hdf5 m
opencv_core opencv_highgui opencv_imgproc opencv_imgcodecs opencv_videoio
之后:
make test
make runtest
手写识别例子没有caffe.bin文件的原因
最新推荐文章于 2020-02-16 20:08:53 发布