About Scale factor
i'm writing to inqure about relation between scale factor and memory usage.
First of all, many thanks for convinence code to use.
my question is, when i train SwinIR for super-resolution with scale factor 4, it works without memory shortage.
but with scale factor 2, memory shortage occur.
in my intuition, there is no reason to scale factor 2 needs more memory.
what i stated for SwinIR is same as following code
model = SwinIR(
upscale=args.scale_factor,
in_chans=3,
img_size=64,
window_size=8,
img_range=1.,
depths=[6,6,6,6,6,6],
embed_dim=180,
num_heads=[6,6,6,6,6,6],
mlp_ratio=2,
upsampler='pixelshuffle',
resi_connection='1conv'
)
every parameters are the same except for scale factor.
is it general?
it will be appreciated if you leave me reply.
oh, my gpu is 24G though