Open mlcoop opened 6 years ago
I am trying to import caffe. I get error: undefined symbol: _ZN5boost6python6detail11init_moduleER11PyModuleDefPFvvE
My configs are: USE_CUDNN := 1
CUDA_ARCH := -gencode arch=compute_30,code=sm_30 \ -gencode arch=compute_35,code=sm_35 \ -gencode arch=compute_50,code=sm_50 \ -gencode arch=compute_52,code=sm_52 \ -gencode arch=compute_60,code=sm_60 \ -gencode arch=compute_61,code=sm_61 \ -gencode arch=compute_61,code=compute_61 BLAS := atlas ANACONDA_HOME := $/home/malibayev/anaconda3/envs/pytorch_0_4 PYTHON_INCLUDE := $(ANACONDA_HOME)/include\ $(ANACONDA_HOME)/include/python3.6m \ $(ANACONDA_HOME)/lib/python3.6/site-packages/numpy/core/include
PYTHON_LIB := $(ANACONDA_HOME)/lib WITH_PYTHON_LAYER := 1
INCLUDE_DIRS := $(PYTHON_INCLUDE) /usr/local/include /usr/include/hdf5/serial LIBRARY_DIRS := $(PYTHON_LIB) /usr/local/lib /usr/lib /usr/lib/x86_64-linux-gnu/hdf5/serial/ BUILD_DIR := build DISTRIBUTE_DIR := distribute TEST_GPUID := 0
Did make all; make rustest; make test; make pycaffe; make pytest showed couple errors: ERROR: test_coord_map (unittest.loader._FailedTest) ERROR: test_layer_type_list (unittest.loader._FailedTest) ERROR: test_python_layer (unittest.loader._FailedTest) ERROR: test_python_layer_with_param_str (unittest.loader._FailedTest) ERROR: test_solver (unittest.loader._FailedTest)
PYTHON_LIBRARIES := boost_python-py35 python3.6m
Important - read before submitting
Please read the guidelines for contributing before submitting this issue!
Please do not post installation, build, usage, or modeling questions, or other requests for help to Issues. Use the caffe-users list instead. This helps developers maintain a clear, uncluttered, and efficient view of the state of Caffe.
Issue summary
Steps to reproduce
Tried solutions
System configuration
Issue checklist