Closed jeonghomin closed 1 year ago
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').
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 kno
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?