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

Sobel edge detection implemented on PyTorch

Results 2 sobel-operator-pytorch issues
Sort by recently updated
recently updated
newest added

Hi, thanks for the code. you need to add to the sqrt, small number epsilon. Otherwise you will get in the backpropogation nan values. https://github.com/chaddy1004/sobel-operator-pytorch/blob/eca741aafbcef9d2639acedca10b09bbfa100e09/model.py#L20

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