Open MrPeterJin opened 1 year ago
Hi,
When I compile your code located at models/ops, it yield the following error:
models/ops
/Deformable-DETR/models/ops/src/cuda/ms_deform_attn_cuda.cu(134): here /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/local/cuda-11.6/bin/nvcc' failed with exit code 1
Do you know how to get rid of this error?
Solution(s) are provided in this link
Hi,
When I compile your code located at
models/ops
, it yield the following error:Do you know how to get rid of this error?