You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
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!
The text was updated successfully, but these errors were encountered: