import caffe results in:
ImportError: No module named 'caffe._caffe'
我发现的解决方案是运行: 使pycaffe导致错误:
/usr/bin/ld: cannot find -lboost_python3`
collect2: error: ld returned 1 exit status`
Makefile:507: recipe for target 'python/caffe/_caffe.so' failed`
make: *** [python/caffe/_caffe.so] Error 1`
Caffe was build without any errors Ran make all, make test and make runtest successfully.
Makefile config has enabled cudn, cuda, opencv-3, python3.5
Tried to make clean and make all. Install boost.
Proper caffe and python paths are passed in ~/.bashrc.
Operating system: Ubuntu 16.04
Compiler:
CUDA version (if applicable): 9.0
CUDNN version (if applicable): 7.1
BLAS:
Python version (if using pycaffe): 3.5
MATLAB version (if using matcaffe):