Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

import error: segment fault when import caffe #7054

Open
zjjjz opened this issue May 12, 2022 · 0 comments
Open

import error: segment fault when import caffe #7054

zjjjz opened this issue May 12, 2022 · 0 comments

Comments

@zjjjz
Copy link

zjjjz commented May 12, 2022

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):
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant