dragonfly606 / MonoCD

[CVPR 2024] MonoCD: Monocular 3D Object Detection with Complementary Depths
MIT License
24 stars 7 forks source link

Environment Error: inplace_abn #6

Open HyperbolicCurve opened 2 months ago

HyperbolicCurve commented 2 months ago

Hi, when I was trying pip install -r requirements.txt,it came out with: Error: Failed building wheel for inplace_abn. Error: Error: Failed to build installable wheels for some pyproject.toml based projects(inplace_abn). I wonder how to fix the problem. nvcc version: 11.3 image

dragonfly606 commented 1 week ago

@HyperbolicCurve Sorry I'm late. I used to solve this by using conda install inplace_abn. If it doesn't work, you need to make sure your version of nvcc is the same as cudatoolkit. Because the installation of inplace_abn involves compiling. You don't necessarily have to lower your nvcc version, you can use cudatoolkit 11.3 and the corresponding higher level pytorch version