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

Does this code support unpatchify patches when step>1 during patchify ? #5

Open
SahadevPoudel opened this issue Aug 12, 2020 · 5 comments

Comments

@SahadevPoudel
Copy link

No description provided.

@SahadevPoudel SahadevPoudel changed the title Does this code supports unpatchify patches when step>1 during patchify ? Does this code support unpatchify patches when step>1 during patchify ? Aug 12, 2020
@dovahcrow
Copy link
Owner

Hi @SahadevPoudel can you provide the code with step > 1 that doesn't work?

@SahadevPoudel
Copy link
Author

patch

@dovahcrow
Copy link
Owner

I think the error message already clarified that it only supports uniform step size.
It is not possible to create patches with 256 as the width and 2 as the step size for 7221 pixels.

Try (904,256,3) as the patch size and step size 5 instead.

@SahadevPoudel
Copy link
Author

Will you elaborate how do you set patch size and step size for any random image. For example, Image size is (5289, 7221, 3) and required patch size is 224,224,3?

@dovahcrow
Copy link
Owner

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