MASA-SR icon indicating copy to clipboard operation
MASA-SR copied to clipboard

Error : in MASA_arch.py

Open jeonghomin opened this issue 2 years ago • 1 comments

image RefSR/MASA-SR/models/archs/MASA_arch.py", line 435, in forward warp_ref_patches_x1 = warp_ref_patches_x1.view(N, C, H, W) RuntimeError: shape '[1, 64, 228, 228]' is invalid for input of size 3211264

it keeps making error..

Do you know why this occurs?

jeonghomin avatar May 05 '22 16:05 jeonghomin

Are you testing on your own data? If so, the LR and Ref image should be padded if they are not multiples of a number (8/16/32..., depending on the value of the hyper-parameter 'window size').

SkyeLu avatar May 08 '22 13:05 SkyeLu