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

Cant find Relative import with "_ms_deform_attn_cuda_c2345_forward, _ms_deform_attn_cuda_c2345_backward" #49

Open
ammaryasirnaich opened this issue Aug 17, 2024 · 5 comments

Comments

@ammaryasirnaich
Copy link

Thanks for sharing your amazing work, i was excited to give it a try. I tried to follow the steps and after building kernal package in /models/csrc/, after running the code i am getting the error as if there is no package, i am not sure if i am missing anything in between. Should appareciate your help on it.
Selection_108

@YANG-CY-163
Copy link
Contributor

It seems that the relative import issue is caused since you run the .py under csrc/ directly, you can try to create a new testImport.py in the root of the project and run it again to test whether the import is correct.

@ammaryasirnaich
Copy link
Author

thanks for your response, i have moved the file testImport.py to the root directory /SparseOcc but still getting the same error. I had gcc -v (13.2.0) before which didn't let me compile and had to downgraded to (11.4.0) to complied the libraries. Not sure if there is an issue with the compilation

@YANG-CY-163
Copy link
Contributor

From the information you provided, I'm not quite sure what the problem is. Could you give more details

@ammaryasirnaich
Copy link
Author

@YANG-CY-163 thanks for asking, i think I am having issues regarding the incompatibility of cuda 12.1 and gcc 13.2.0 to compile the libraries. After solving them it will be fine. Also, are you guys planning to bump up the code to be incorporated into the current mmdetection3d/projects?

@YANG-CY-163
Copy link
Contributor

Thank you for your interest in our work, there are no plans yet.

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

2 participants