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

undefined symbol: state #26

Closed
aliceyayunji opened this issue Oct 20, 2017 · 8 comments
Closed

undefined symbol: state #26

aliceyayunji opened this issue Oct 20, 2017 · 8 comments

Comments

@aliceyayunji
Copy link

When I try to run the demo, I get the following error:
pattern@pattern-58:~/workspace/jiyy/pytorch-faster-rcnn$ CUDA_VISIBLE_DEVICES=0 ./tools/demo.py
Traceback (most recent call last):
File "./tools/demo.py", line 22, in
from model.test import im_detect
File "/home/pattern/workspace/jiyy/pytorch-faster-rcnn/tools/../lib/model/test.py", line 20, in
from model.nms_wrapper import nms
File "/home/pattern/workspace/jiyy/pytorch-faster-rcnn/tools/../lib/model/nms_wrapper.py", line 11, in
from nms.pth_nms import pth_nms
File "/home/pattern/workspace/jiyy/pytorch-faster-rcnn/tools/../lib/nms/pth_nms.py", line 2, in
from ._ext import nms
File "/home/pattern/workspace/jiyy/pytorch-faster-rcnn/tools/../lib/nms/_ext/nms/init.py", line 3, in
from ._nms import lib as _lib, ffi as _ffi
ImportError: /home/pattern/workspace/jiyy/pytorch-faster-rcnn/tools/../lib/nms/_ext/nms/_nms.so: undefined symbol: state

@ruotianluo
Copy link
Owner

Never seen this before. What gpu do you have, and do you change -arch option according to you gpu?

@aliceyayunji
Copy link
Author

Ubuntu 16.04.3
TITAN Xp
Cuda 8.0 installed

@ruotianluo
Copy link
Owner

Try sm_61?

@aliceyayunji
Copy link
Author

recompiled the nms with sm_61, not work, the same error.

@aliceyayunji
Copy link
Author

It works fine with TITAN X (Pascal)

@ruotianluo
Copy link
Owner

I don't have a TITAN Xp, so I can't help here.

@SONGLOVEWANG
Copy link

I have this problem too.Have you solved it?

@DebangLi
Copy link

I met the same error with pytorch 0.2.0_post2, then I upgrade the pytorch version to 0.2.0_post3 and
recompiled it, the problem is solved.

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

4 participants