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

Some questions about caffe model #25

Open
huakaibanmu opened this issue Nov 14, 2018 · 0 comments
Open

Some questions about caffe model #25

huakaibanmu opened this issue Nov 14, 2018 · 0 comments

Comments

@huakaibanmu
Copy link

huakaibanmu commented Nov 14, 2018

After I install caffe successfully,when I try to import caffe in python ,one error occurs:
Traceback (most recent call last): File "online_recognition.py", line 4, in <module> import caffe File "/root/ECO4/caffe_3d/python/caffe/__init__.py", line 1, in <module> from .pycaffe import Net, SGDSolver File "/root/ECO4/caffe_3d/python/caffe/pycaffe.py", line 13, in <module> from ._caffe import Net, SGDSolver ImportError: /root/ECO4/caffe_3d/python/caffe/_caffe.so: invalid ELF header

before I compile caffe,I changed Makefile.config about PYTHONPATH and the path of protobuf,and I have added the following line:
export PYTHONPATH=/root/ECO2/caffe_3d/python:$PYTHONPATH
I google it and someone says I installed the wrong version,can anyone help me? thx!

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