-
Notifications
You must be signed in to change notification settings - Fork 44
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 (undefined symbol) #5
Comments
Hi it seems like the version problem. I would suggest you to check pytorch version. If you would like to use the latest pytorch please see my last reply for the issue.
Best,
Junyu
在 2021年6月14日 上午5:39,Siddharth Rao A ***@***.***>写道:
Hey, I'm getting the following error when I try to run the test code. Is this a version error or a bug in the code itself? If it is a version error, could you let me know what versions of pytorch and torchvision should I use?
I tried with multiple versions but got the same error every time. I have tried torch 0.4 + torchvision 0.2.1 (the one given in the CornerNet repo) and torch 1.1 + torchvision 0.2.1 (the one given in this repo), but both seem to give the same error.
Please let me know what changes I should make to be able to run the code. Thanks in advance!
Traceback (most recent call last):
File "test_pipe_type_cloud.py", line 14, in <module>
from nnet.py_factory import NetworkFactory
File "./DeepRule/nnet/py_factory.py", line 7, in <module>
from models.py_utils.data_parallel import DataParallel
File "./DeepRule/models/py_utils/__init__.py", line 6, in <module>
from ._cpools import TopPool, BottomPool, LeftPool, RightPool
File "./DeepRule/models/py_utils/_cpools/__init__.py", line 5, in <module>
from models.py_utils._cpools import top_pool, bottom_pool, left_pool, right_pool
ImportError: ./DeepRule/models/py_utils/_cpools/top_pool.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZNSt19basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev
―
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#5>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AGXQFDXUBL47HOUGBFTLVQDTSUQQHANCNFSM46UDWIOQ>.
|
Hi Junyu, May I know what did you reply to him? I have the same issue with trying multiple combination but still failed. Ruby |
Hi, I am getting the same error. I followed your readme (+ #3). I even tried installing it on a blank linux docker image but still getting this error. (Pytorch in version 1.1.0). Has anyone managed to solve this problem? |
I'm getting a similar error. was this ever resolved? |
Hi I am also getting the same error as below while training and also while running the command (python manage.py runserver 8800), Please suggest a solution for this ASAP File "/content/drive/MyDrive/DeepRule/models/py_utils/_cpools/top_pool.py", line 6, in bootstrap ImportError: /content/drive/MyDrive/DeepRule/models/py_utils/_cpools/top_pool.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZTIN3c1021AutogradMetaInterfaceE |
compile the corner net package as the guideline. |
Do not use the uploaded complied files, and download the latest codes. |
Hi, |
Hey, I'm getting the following error when I try to run the test code. Is this a version error or a bug in the code itself? If it is a version error, could you let me know what versions of pytorch and torchvision should I use?
I tried with multiple versions but got the same error every time. I have tried torch 0.4 + torchvision 0.2.1 (the one given in the CornerNet repo) and torch 1.1 + torchvision 0.2.1 (the one given in this repo), but both seem to give the same error.
Please let me know what changes I should make to be able to run the code. Thanks in advance!
The text was updated successfully, but these errors were encountered: