Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile error #209

Open
MrPeterJin opened this issue Jul 29, 2023 · 1 comment
Open

Compile error #209

MrPeterJin opened this issue Jul 29, 2023 · 1 comment

Comments

@MrPeterJin
Copy link

Hi,

When I compile your code located at models/ops, it yield the following error:

/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?

@prerakmody
Copy link

Solution(s) are provided in this link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants