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

An issue about the compiling of caffe #37

Open
Ha-kki opened this issue Mar 1, 2021 · 0 comments
Open

An issue about the compiling of caffe #37

Ha-kki opened this issue Mar 1, 2021 · 0 comments

Comments

@Ha-kki
Copy link

Ha-kki commented Mar 1, 2021

Hi:) @Huangying-Zhan
After I added your layers in caffe and compiled it, I found this import error when I ran the bash file ./experiments/depth/train.sh to training the depth estimation network.

I0301 14:24:43.756604 3770 layer_factory.hpp:77] Creating layer SE3 Traceback (most recent call last): File "/home/myubuntu/anaconda3/envs/caf/caffe/python/pygeometry.py", line 1, in <module> import caffe File "/home/myubuntu/anaconda3/envs/caf/caffe/python/caffe/__init__.py", line 1, in <module> from .pycaffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, RMSPropSolver, AdaDeltaSolver, AdamSolver, NCCL, Timer File "/home/myubuntu/anaconda3/envs/caf/caffe/python/caffe/pycaffe.py", line 11, in <module> import numpy as np File "/home/myubuntu/anaconda3/envs/caf/lib/python2.7/site-packages/numpy/__init__.py", line 140, in <module> from . import _distributor_init File "/home/myubuntu/anaconda3/envs/caf/lib/python2.7/site-packages/numpy/_distributor_init.py", line 33, in <module> with RTLD_for_MKL(): File "/home/myubuntu/anaconda3/envs/caf/lib/python2.7/site-packages/numpy/_distributor_init.py", line 18, in __enter__ import ctypes File "/home/myubuntu/anaconda3/envs/caf/lib/python2.7/ctypes/__init__.py", line 7, in <module> from _ctypes import Union, Structure, Array ImportError: /home/myubuntu/anaconda3/envs/caf/lib/python2.7/lib-dynload/_ctypes.so: undefined symbol: _PySlice_Unpack

It seems that this issue occurred when the SE3 layer we added was creating. However, when I imported caffe in other python files, it could be imported successfully. For example, when I ran the pygeometry.py in the terminal, there was no any error.
Could you tell me how I can solve this issue?

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