pytorch-deform-conv-v2
pytorch-deform-conv-v2 copied to clipboard
a problem of _get_p_0
Firstly,thanks for your work I noticed that p_0_x and p_0_y all start from 1,so the first coordinate is (1,1).But if the kernel_size isn't 1,there will be negative coordinate.Thought you use torch.clamp to aviod those negative value.But I don't think it is the convolution operation described by the author.I think the coordinate should begin from ((kernel_size-1)/2,(kernel_size-1)/2)