sobel-operator-pytorch icon indicating copy to clipboard operation
sobel-operator-pytorch copied to clipboard

padding=0 result in a reduced image size

Open chengengliu opened this issue 1 year ago • 0 comments

Hi, thanks for the work. I just noticed that the padding should be changed to 1, otherwise the image size will be reduced https://github.com/chaddy1004/sobel-operator-pytorch/blob/eca741aafbcef9d2639acedca10b09bbfa100e09/model.py#L8C3-L8C3

chengengliu avatar Dec 20 '23 12:12 chengengliu