pytorch-deform-conv-v2 icon indicating copy to clipboard operation
pytorch-deform-conv-v2 copied to clipboard

question about kernel_size

Open 18842505953 opened this issue 5 years ago • 1 comments

does the kernel_size only equal 3? i set kernel_size=5 ,the result of conv is the same with kernel_size=3,why?

18842505953 avatar Jun 04 '19 12:06 18842505953

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).

nbl97 avatar Jul 17 '19 17:07 nbl97