pytorch-deform-conv-v2
pytorch-deform-conv-v2 copied to clipboard
question about kernel_size
does the kernel_size only equal 3? i set kernel_size=5 ,the result of conv is the same with kernel_size=3,why?
Becauses the DeformConv2D
has a problem, it only can do "SAME" conv.
In conv_kernel
, the shape of x_offset
returned from _reshape_x_offset
is always (hks, wks), ks
is the kernel_size, so the output is still (h,w).