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

If the resolution of one's own image is less than 256 #1

Open
xiao-tai opened this issue Apr 11, 2023 · 1 comment
Open

If the resolution of one's own image is less than 256 #1

xiao-tai opened this issue Apr 11, 2023 · 1 comment

Comments

@xiao-tai
Copy link

Thanks for your sharing!

My SAR image's resolution is 100 * 100, I found "patch_size = 256" in the "pred_unsupervised.py"。 So this error will be reported in the follow-up: "IndexError: list index out of range"

Could you provide some possible solutions?

Thanks so much!

@muzmax
Copy link
Owner

muzmax commented Sep 29, 2023

Hi, sorry for my lack of response
The network is trained on 256*256 images so it is best to use this input size.
If you got a bigger image you can split it it patches.
If you got a smaller one it can work if you change the patch size in the code (up to a certain size), but i wouldn't guarantee the performances without a fine tuning.

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