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

failed to Install #6

Closed
huwolong opened this issue Jul 4, 2020 · 3 comments
Closed

failed to Install #6

huwolong opened this issue Jul 4, 2020 · 3 comments
Labels
bug Something isn't working fixed This is already fixed

Comments

@huwolong
Copy link

huwolong commented Jul 4, 2020

the follow is the error message when type python setup.py build develop.
detector/nms/src/nms_cuda.cpp:4:80: error: ‘AT_CHECK’ was not declared in this scope
#define CHECK_CUDA(x) AT_CHECK(x.type().is_cuda(), #x, " must be a CUDAtensor ")
^
detector/nms/src/nms_cuda.cpp:9:3: note: in expansion of macro ‘CHECK_CUDA’
CHECK_CUDA(dets);
^
error: command 'gcc' failed with exit status 1

@huwolong
Copy link
Author

huwolong commented Jul 4, 2020

i just solved this proplem by uninstalling torch==1.5.1 and installing torch==1.3.1

@huwolong huwolong closed this as completed Jul 4, 2020
@yelantf
Copy link
Collaborator

yelantf commented Jul 4, 2020

@huwolong Thanks for openning this issue. Currently, PyTorch 1.5+ is not supported since AT_CHECK is deprecated(open-mmlab/mmdetection#2513). We will fix this in the next update. For now, please use PyTorch 1.0-1.4

@yelantf yelantf added the bug Something isn't working label Jul 14, 2020
@yelantf
Copy link
Collaborator

yelantf commented Sep 25, 2020

This issue is fixed in the latest update bcb6b16.

@yelantf yelantf added the fixed This is already fixed label Sep 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed This is already fixed
Projects
None yet
Development

No branches or pull requests

2 participants