DeformConv_pytorch icon indicating copy to clipboard operation
DeformConv_pytorch copied to clipboard

Offset output channel

Open zhujiagang opened this issue 7 years ago • 0 comments

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

zhujiagang avatar Mar 31 '18 03:03 zhujiagang