problem1:
/usr/bin/ld: cannot find -lopencv_imgcodecs
/usr/bin/ld: cannot find -lopencv_videoio
collect2: error: ld returned 1 exit status
Makefile:568: recipe for target '.build_release/lib/libcaffe.so.1.0.0-rc3' failed
make: *** [.build_release/lib/libcaffe.so.1.0.0-rc3] Error 1
解决办法:
在Makefile文件中删除上述两项-lopencv_videoio和-lopencv_imgcodecs,重新编译通过。不知道后面会不会有什么问题。
problem2:
在执行python examples/text/demo.py中遇到no module named shapely
pip install shapely
problem3 :
no module named cv2
pip install opencv-python
problem4:
cannot import name _validate_lengths
pip install --upgrade scikit-image
problem 5:
0411 12:42:53.114141 21769 layer_factory.hpp:77] Creating layer data
I0411 12:42:53.114586 21769 net.cpp:91] Creating Layer data
I0411 12:42:53.114604 21769 net.cpp:399] data -> data
I0411 12:42:53.114645 21769 net.cpp:399] data -> label
F0411 12:42:53.114650 21772 db_lmdb.hpp:14] Check failed: mdb_status == 0 (2 vs. 0) No such file or directory
这里是lmdb文件路径有问题。确认modelConfig中的路径是否有错误。