sanghyun-son / EDSR-PyTorch

PyTorch version of the paper 'Enhanced Deep Residual Networks for Single Image Super-Resolution' (CVPRW 2017)
MIT License
2.42k stars 668 forks source link

Pytorch loading problem #232

Open greatwallet opened 4 years ago

greatwallet commented 4 years ago

Come across the same problem with #162 when running RCAN

System

I suppose maybe the code is not supportive Pytorch 1.3.0 and above.

Could you give me a hint about how to fix this?

AbdulMoqeet commented 4 years ago

RCAN uses old EDSR code. Please replace the dataloader.py with EDSR dataloader.py to fix this issue.

I would suggest to use the EDSR code and run the RCAN model from it to resolve such bugs.