Nightmare-n / UniPAD

UniPAD: A Universal Pre-training Paradigm for Autonomous Driving (CVPR 2024)
https://arxiv.org/abs/2310.08370
Apache License 2.0
150 stars 5 forks source link

smooth_sampler ops build error #4

Closed dyy0205 closed 4 months ago

dyy0205 commented 6 months ago

Hi, thank you for sharing this excellent work! When i try to install this project using python setup.py develop --user, i met this compilation error

截屏2023-12-19 上午10 33 52

I wonder how can i solve this errors, hope for your reply!!

Nightmare-n commented 6 months ago

Hi, which pytorch version do you use?

dyy0205 commented 6 months ago

Hi, which pytorch version do you use?

torch==1.10.2+cu111, torchvision==0.11.3+cu111, torch-scatter==2.0.9

Nightmare-n commented 6 months ago

The error may be caused by different pytorch verison. You could try to replace the old function according to here. Or you could upgrade pytorch version and directly use this for pytorch>=1.11.