lzccccc / SMOKE

SMOKE: Single-Stage Monocular 3D Object Detection via Keypoint Estimation
MIT License
696 stars 177 forks source link

build DCNv2 error #74

Open Jenny0420 opened 2 years ago

Jenny0420 commented 2 years ago

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 commented 2 years ago

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