Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

padding=0 result in a reduced image size #2

Open
chengengliu opened this issue Dec 20, 2023 · 0 comments
Open

padding=0 result in a reduced image size #2

chengengliu opened this issue Dec 20, 2023 · 0 comments

Comments

@chengengliu
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant