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

error: identifier "AT_CHECK" is undefined #12

Open
Abonnen opened this issue Sep 6, 2020 · 1 comment
Open

error: identifier "AT_CHECK" is undefined #12

Abonnen opened this issue Sep 6, 2020 · 1 comment

Comments

@Abonnen
Copy link

Abonnen commented Sep 6, 2020

I followed the instructions to install VC-R-CNN, however when I run the last command python setup.py build develop in install.sh, I got errors:

error: identifier "AT_CHECK" is undefined

I tried the solution in another issue , I replaced AT_CHECK by TORCH_CHECK in file vc_rcnn/csrc/cuda/deform_conv_cuda.cu and vc_rcnn/csrc/cuda/deform_pool_cuda.cu and it worked.

Actually, I don't know why this happened.
If anyone get the same error, I hope it helps.

@ArghyaPal
Copy link

ArghyaPal commented Oct 11, 2021

add

#ifndf AT_CHECK
#define AT_CHECK TORCH_CHECK
#endif

at the very beginning of:

vc_rcnn/csrc/cuda/deform_conv_cuda.cu

and

vc_rcnn/csrc/cuda/deform_pool_cuda.cu

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