XPixelGroup / BasicSR

Open Source Image and Video Restoration Toolbox for Super-resolution, Denoise, Deblurring, etc. Currently, it includes EDSR, RCAN, SRResNet, SRGAN, ESRGAN, EDVR, BasicVSR, SwinIR, ECBSR, etc. Also support StyleGAN2, DFDNet.
https://basicsr.readthedocs.io/en/latest/
Apache License 2.0
6.71k stars 1.18k forks source link

TypeError: unsupported operand type(s) for *: 'float' and 'collections.OrderedDict' error when executing net_interp.py #687

Open aldogan17 opened 3 months ago

aldogan17 commented 3 months ago

I trained PSNR_x4 and ESRGAN_x4 models for my custom data. However, when I am trying to interpolate those two I am getting this error: TypeError: unsupported operand type(s) for *: 'float' and 'collections.OrderedDict' error. I also tried your models you provided in your google drive in the same script and it worked. Why are my custom models not working?

Thanks.