xinntao / ESRGAN

ECCV18 Workshops - Enhanced SRGAN. Champion PIRM Challenge on Perceptual Super-Resolution. The training codes are in BasicSR.
https://github.com/xinntao/BasicSR
Apache License 2.0
5.86k stars 1.04k forks source link

为什么我使用自己修改的rrdb之后训练进行插值会得到这个bug #124

Closed ZW-PRO closed 3 years ago

ZW-PRO commented 3 years ago

(pytorch) D:\Python file\ESRGAN-master>python net_interp.py 0.5 Interpolating with alpha = 0.5 Traceback (most recent call last): File "net_interp.py", line 19, in net_interp[k] = (1 - alpha) v_PSNR + alpha v_ESRGAN TypeError: unsupported operand type(s) for *: 'float' and 'collections.OrderedDict'