DeformConv_pytorch
DeformConv_pytorch copied to clipboard
Offset output channel
https://github.com/AlexHex7/DeformConv_pytorch/blob/fb3ea98d1353eb15a6058670e190e4fb837ccba7/lib/conv_offset2D.py#L36 Your implementation is not the same as the original paper described in section 2.1. Offset output channel dimension should be 2 x N, where N is the conv kernel size k*k in 2D case. That is, the offset is shared across the channel dimension. You could refer to the implementation of https://github.com/ChunhuanLin/deform_conv_pytorch