ethnhe / FFB6D

[CVPR2021 Oral] FFB6D: A Full Flow Bidirectional Fusion Network for 6D Pose Estimation.
MIT License
295 stars 72 forks source link

undefined symbol: PyThread_tss_get #30

Closed an99990 closed 3 years ago

an99990 commented 3 years ago

This issue comes from sh demo_ycb.sh apex and normalSpeed were successfully installed. full error message

Traceback (most recent call last):
  File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/halodi/test_2_venv/FFB6D/ffb6d/demo.py", line 19, in <module>
    from datasets.ycb.ycb_dataset import Dataset as YCB_Dataset
  File "/home/halodi/test_2_venv/FFB6D/ffb6d/datasets/ycb/ycb_dataset.py", line 11, in <module>
    from utils.basic_utils import Basic_Utils
  File "/home/halodi/test_2_venv/FFB6D/ffb6d/utils/basic_utils.py", line 9, in <module>
    import normalSpeed
ImportError: /home/halodi/.local/lib/python3.6/site-packages/normalSpeed-0.0.1-py3.6-linux-x86_64.egg/normalSpeed.cpython-36m-x86_64-linux-gnu.so: undefined symbol: PyThread_tss_get
ethnhe commented 3 years ago

It seems the normalSpeed problem. Check that normalSpeed is successfully installed by running the example in that repo.

an99990 commented 3 years ago

issue fixed in repo normalspeed

an99990 commented 3 years ago

Yu have to make sure you're using the right python version. I used python 3.8. Call it by giving the full path of your python.

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: Gaurav Ajariwal @.> Sent: Thursday, September 16, 2021 2:54:06 AM To: ethnhe/FFB6D @.> Cc: an99990 @.>; Mention @.> Subject: Re: [ethnhe/FFB6D] undefined symbol: PyThread_tss_get (#30)

hey @an99990https://github.com/an99990 I have the same error, how did you fix it?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/ethnhe/FFB6D/issues/30#issuecomment-920627767, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AUX7UXN6K46HDNGYGBJ326DUCGIA5ANCNFSM5DCOXMLA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

an99990 commented 3 years ago

Frim what I understood the error stops after you use a newer version of python you should try with python 3.8.

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: Gaurav Ajariwal @.> Sent: Thursday, September 16, 2021 5:01:02 PM To: ethnhe/FFB6D @.> Cc: an99990 @.>; Mention @.> Subject: Re: [ethnhe/FFB6D] undefined symbol: PyThread_tss_get (#30)

I am using python 3.6.9. and calling it with the full path. Is there anything else that you tried?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/ethnhe/FFB6D/issues/30#issuecomment-921241622, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AUX7UXKFRYHWS4D66N3CKQTUCJLI5ANCNFSM5DCOXMLA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.