-
Notifications
You must be signed in to change notification settings - Fork 2k
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: cannot import 'roi_align_cuda' from partially initialized module 'alphapose.utils.roi_align' (most likely due to a circular import) #1061
Comments
Hi, what command are you running? |
I experienced same error when running this program on Ubuntu20.04,but the same program runs fine on Windows. |
Hi, when running demo_inference.py, I get the same problem (ImportError: cannot import name 'roi_align_cuda' from 'alphapose.utils.roi_align'). I don't know if it is a problem from the installation of cuda or something else. Anyone have an idea please ? |
I comfronted the same problem, and I managed to solve this abiding by the requirement: pytorch > 1.11.0. |
I install with pip and no cuda, when I run demo_inference at mac then I got this problem, Does anyone have any suggestions? |
I have tried this but it still doesn't work for me. |
Hi, 你解决这个问题了嘛?可以交流一下嘛?I tried both pip and conda, I haven't solve it yet. |
What was the python version? Have you tried with |
I solve it with import *, maby you can try this, or use python3.7 |
thank u. I have tried with import * and it didn't work out. Could you please tell me your cuda version and torch version with python 3.7 ? |
I have tried python 3.7.16 with torch 0.10.1 and it did not work for me. Could you please tell me your cuda version and torch version? |
Look forward to your reply!
The text was updated successfully, but these errors were encountered: