Skip to content

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

@syluofoden

Description

@syluofoden

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions