MCG-NJU / SparseOcc

[ECCV 2024] Fully Sparse 3D Occupancy Prediction & RayIoU Evaluation Metric
https://arxiv.org/abs/2312.17118
Apache License 2.0
277 stars 22 forks source link

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

Open ammaryasirnaich opened 3 months ago

ammaryasirnaich commented 3 months ago

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 commented 3 months ago

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 commented 3 months ago

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 commented 3 months ago

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

ammaryasirnaich commented 3 months ago

@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 commented 3 months ago

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