ESRGAN icon indicating copy to clipboard operation
ESRGAN copied to clipboard

ERSGAN+ Interpolation

Open keg247 opened this issue 2 years ago • 1 comments

Interpolation doesn't seem to work with ERSGAN+ models. It throws the following error:

upscale.py, line 303, in load_model state_dict[k] = (int(interps[0].split("@")[1]) / 100) * v_1 + ( TypeError: unsupported operand type(s) for *: 'float' and 'collections.OrderedDict'

Looks like v_1 is an ordered dictionary for ERSGAN+ models rather than a tensor.

keg247 avatar Jul 01 '22 18:07 keg247

Huh that's interesting... I wonder if one of the models is using a param load key. My esrgan fork doesn't account for those at the moment

joeyballentine avatar Oct 05 '22 14:10 joeyballentine