This repo allows the user to split the image into patches of two types:
- Custom patchify: allows the user to set the crop size and overlapping size. (When unpatchifying the overlapping patches are averaged)
- Grid patchify: allows the user to split the image horizontally in half then set the number of desired vertical crops.
The residual/additional pixels in both types are also taken into consideration!