megvii-research / FSCE

Apache License 2.0
274 stars 47 forks source link

pip install git+https://github.com/philferriere/cocoapi.git#subdirectory=PythonAPI #75

Open syluofoden opened 11 months ago

syluofoden commented 11 months ago

i missed this issue when i run 'python setup.py build develop' the full issue error is as list: /home/lsy/FSCE-mian/fsdet/layers/csrc/deformable/deform_conv.h(136): error: identifier "AT_CHECK" is undefined

/home/lsy/FSCE-mian/fsdet/layers/csrc/deformable/deform_conv.h(184): error: identifier "AT_CHECK" is undefined

/home/lsy/FSCE-mian/fsdet/layers/csrc/deformable/deform_conv.h(234): error: identifier "AT_CHECK" is undefined

/home/lsy/FSCE-mian/fsdet/layers/csrc/deformable/deform_conv.h(284): error: identifier "AT_CHECK" is undefined

/home/lsy/FSCE-mian/fsdet/layers/csrc/deformable/deform_conv.h(341): error: identifier "AT_CHECK" is undefined

/home/lsy/FSCE-mian/fsdet/layers/csrc/deformable/deform_conv_cuda.cu(155): error: identifier "AT_CHECK" is undefined

/home/lsy/FSCE-mian/fsdet/layers/csrc/deformable/deform_conv_cuda.cu(338): error: identifier "AT_CHECK" is undefined

/home/lsy/FSCE-mian/fsdet/layers/csrc/deformable/deform_conv_cuda.cu(503): error: identifier "AT_CHECK" is undefined

/home/lsy/FSCE-mian/fsdet/layers/csrc/deformable/deform_conv_cuda.cu(696): error: identifier "AT_CHECK" is undefined

/home/lsy/FSCE-mian/fsdet/layers/csrc/deformable/deform_conv_cuda.cu(823): error: identifier "AT_CHECK" is undefined

/home/lsy/FSCE-mian/fsdet/layers/csrc/deformable/deform_conv_cuda.cu(953): error: identifier "AT_CHECK" is undefined

11 errors detected in the compilation of "/home/lsy/FSCE-mian/fsdet/layers/csrc/deformable/deform_conv_cuda.cu". error: command '/usr/local/cuda/bin/nvcc' failed with exit code 1 and i missed the same issue when i run another code 'few-shot-object-detection-0.1' my cuda vesion is 11.4 and torch version is 1.8+cu111, how can i solve this problem?

HuangQunYan commented 1 month ago

same problem