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

ImportError: load_textures.cpython-37m-x86_64-linux-gnu.so: undefined symbol: _ZN6caffe26detail37_typeMetaDataInstance_preallocated_32E #13

Closed
bolin12 opened this issue Oct 1, 2019 · 3 comments

Comments

@bolin12
Copy link

bolin12 commented Oct 1, 2019

when i run demo_imitator.py I got↓

Traceback (most recent call last):
File "demo_imitator.py", line 6, in
from models.imitator import Imitator
File "/home/lbl/impersonator/models/imitator.py", line 8, in
from utils.nmr import SMPLRenderer
File "/home/lbl/impersonator/utils/nmr.py", line 11, in
import neural_renderer as nr
File "/home/lbl/anaconda3/lib/python3.7/site-packages/neural_renderer/init.py", line 3, in
from .load_obj import load_obj
File "/home/lbl/anaconda3/lib/python3.7/site-packages/neural_renderer/load_obj.py", line 8, in
import neural_renderer.cuda.load_textures as load_textures_cuda
ImportError: /home/lbl/anaconda3/lib/python3.7/site-packages/neural_renderer/cuda/load_textures.cpython-37m-x86_64-linux-gnu.so: undefined symbol: _ZN6caffe26detail37_typeMetaDataInstance_preallocated_32E

@piaozhx
Copy link
Member

piaozhx commented Oct 1, 2019

It seems that the nerual renderer you installed don't match to your python version.
e.g. you installed it with python3.6 but run demo_imitator.py with python3.7. maybe you should
create a new python environment and install nerual renderer again

@studabyd
Copy link

studabyd commented Nov 1, 2019

when i run demo_imitator.py I got↓

Traceback (most recent call last):
File "demo_imitator.py", line 6, in
from models.imitator import Imitator
File "/home/lbl/impersonator/models/imitator.py", line 8, in
from utils.nmr import SMPLRenderer
File "/home/lbl/impersonator/utils/nmr.py", line 11, in
import neural_renderer as nr
File "/home/lbl/anaconda3/lib/python3.7/site-packages/neural_renderer/init.py", line 3, in
from .load_obj import load_obj
File "/home/lbl/anaconda3/lib/python3.7/site-packages/neural_renderer/load_obj.py", line 8, in
import neural_renderer.cuda.load_textures as load_textures_cuda
ImportError: /home/lbl/anaconda3/lib/python3.7/site-packages/neural_renderer/cuda/load_textures.cpython-37m-x86_64-linux-gnu.so: undefined symbol: _ZN6caffe26detail37_typeMetaDataInstance_preallocated_32E

Have you solved this error, maybe I meet this, how did you solve it, thank you

@piaozhx
Copy link
Member

piaozhx commented Nov 1, 2019

refer #35

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

3 participants