lucasjinreal / DCNv2_latest

DCNv2 supports decent pytorch such as torch 1.5+ (now 1.8+)
BSD 3-Clause "New" or "Revised" License
637 stars 124 forks source link

difference between this repo with the torchvision deformable convolution op #29

Open boringwar opened 3 years ago

boringwar commented 3 years ago

Hi, author, what's the difference between this repo with the torchvision DCN op. https://pytorch.org/vision/stable/_modules/torchvision/ops/deform_conv.html

Ken1256 commented 3 years ago

Also https://github.com/developer0hye/Simple-PyTorch-Deformable-Convolution-v2/blob/main/experiment.ipynb

Dipankar1997161 commented 2 years ago

Hi, author, what's the difference between this repo with the torchvision DCN op. https://pytorch.org/vision/stable/_modules/torchvision/ops/deform_conv.html

The previous versions of DCNv2 in dcn_v2_cuda.cu use THCUDA which causes errors during setup.py. This repo uses AT Tensor functions which resolves the issue for higher pytorch and CUDA versions

lucasjinreal commented 2 years ago

@haak0 I am also curious about this. Honestly speaking I do not know.