BVLC / caffe

Caffe: a fast open framework for deep learning.

Home Page:http://caffe.berkeleyvision.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

import error: segment fault when import caffe

zjjjz opened this issue · comments

commented

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

  • Operating system: Mac os11.4
  • Compiler:
  • CUDA version (if applicable):
  • CUDNN version (if applicable):
  • BLAS: openblas 1.0
  • Python version (if using pycaffe): python 3.7.13
  • MATLAB version (if using matcaffe):