dovahcrow/patchify.py

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

SahadevPoudel opened this issue · 5 comments

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

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

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.

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?