ZrrSkywalker / MonoDETR

[ICCV 2023] The first DETR model for monocular 3D object detection with depth-guided transformer
327 stars 31 forks source link

error: command '/usr/bin/nvcc' failed with exit code 1 #60

Open JinRee opened 3 months ago

JinRee commented 3 months ago

Hello, I have followed your recommended environment and CUDA version for the setup exactly as mentioned in your readme file, but I keep encountering an error:

/usr/include/c++/11/bits/std_function.h:435:145: error: parameter packs not expanded with ‘...’: 435 | function(_Functor&& f) | ^ /usr/include/c++/11/bits/std_function.h:435:145: note: ‘_ArgTypes’ /usr/include/c++/11/bits/std_function.h:530:146: error: parameter packs not expanded with ‘...’: 530 | operator=(_Functor&& f) | ^ /usr/include/c++/11/bits/std_function.h:530:146: note: ‘_ArgTypes’ error: command '/usr/bin/nvcc' failed with exit code 1

. Do you happen to know how to resolve this issue?

tranquan687 commented 3 months ago

I install pytorch 1.13+cu11.6, it work

conda install pytorch==1.13.0 torchvision==0.14.0 torchaudio==0.13.0 pytorch-cuda=11.6 -c pytorch -c nvidia