BVLC / caffe

Caffe: a fast open framework for deep learning.
http://caffe.berkeleyvision.org/
Other
33.96k stars 18.72k forks source link

import error: segment fault when import caffe #7054

Open zjjjz opened 2 years ago

zjjjz commented 2 years ago

Issue summary

i make all && make pycaffe successfully and i can run the examples successfully,but when i import caffe i got segment fault without any errror mesg.And I used lldb to debug the core file,but noting as well.And I commented "import_array1()" at the end of $CAFFE_ROOT/python/caffe/_caffe.cpp and remake,and i can import successfully.However something is error cause i run the py-faster-rcnn demo.py got a error message that is "numpy.ndarray size changed, may indicate binary incompatibility. Expected 88 from C header, got 80 from PyObject".Anybody knows reason?

System configuration

I use anaconda manage python env