Cant find Relative import with "_ms_deform_attn_cuda_c2345_forward, _ms_deform_attn_cuda_c2345_backward"
Opened this issue · 5 comments
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.
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.
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
From the information you provided, I'm not quite sure what the problem is. Could you give more details
@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?
Thank you for your interest in our work, there are no plans yet.