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

Kernel tuple issue #5

Open
thomaskaa opened this issue Nov 27, 2022 · 1 comment
Open

Kernel tuple issue #5

thomaskaa opened this issue Nov 27, 2022 · 1 comment

Comments

@thomaskaa
Copy link

thomaskaa commented Nov 27, 2022

Hello,
I'am trying to run the code (mines an dams discovery) with smaller sample images, around 100m images 11*11 pxl,
Can you explain me how can I adapt the convolution kernel size based on the image size ? that would help me a lot !!
When I only change the size of the images in the code without touching the kernel, i have this error:

ValueError: The kernel_size argument must be a tuple of 2 integers. Received: (0, 0) including {0} that does not satisfy the requirement > 0.

Many thanks in advance,

Thomas

@Beverly88
Copy link

Beverly88 commented Dec 12, 2022

Hi Thomas,

After reading your comment I tried using smaller sample images and the code ran fine. I did not receive the same error. Perhaps something else may be the issue.

Goodluck
Bev

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

2 participants