generated from xinntao/BasicSR-examples
-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
I have a doubt; I was using OCAB type of block in my implementation.But there is an issue if the image size is not divisible by 8; hence it is resulting in reshaping errors.
For example:
einops.EinopsError: Error while processing rearrange-reduction pattern "b c (h p1) (w p2) -> (b h w) (p1 p2) c".
Input tensor shape: torch.Size([1, 64, 84, 128]). Additional info: {'p1': 8, 'p2': 8}.
Shape mismatch, can't divide axis of length 84 in chunks of 8
Metadata
Metadata
Assignees
Labels
No labels