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

build DCNv2 error #74

Open
Jenny0420 opened this issue Jul 15, 2022 · 1 comment
Open

build DCNv2 error #74

Jenny0420 opened this issue Jul 15, 2022 · 1 comment

Comments

@Jenny0420
Copy link

my sys:
ubuntu 18.04
torch : 1.8.1+cu102
cuda : 10.2

run python setup.py build develop

ERROR:
csrc/cpu/dcn_v2_psroi_pooling_cpu.cpp:16:10: fatal error: ATen/ceil_div.h: Noshuch file or directory
#include <ATen/ceil_div.h>
compilation terminated
error: command "g++" failed with exit status 1

@kaggar11
Copy link

kaggar11 commented Aug 4, 2022

I fixed this issue by using the DCNv2 src from the following repo.
[https://gitcode.net/l_d_x/DCNv2_latest/-/tree/master/src]

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