EDSR-PyTorch icon indicating copy to clipboard operation
EDSR-PyTorch copied to clipboard

How to train MDSR?

Open Atumyugi opened this issue 5 years ago • 6 comments

I use demo.sh ->python main.py --template MDSR --model MDSR --scale 2+3+4 --n_resblocks 80 --save MDSR --reset --save_models

but this model only train X2 model, I want to know why. The PSNR in X2model become better and better, but X3 X4 model cant change thank you!

Atumyugi avatar Nov 13 '19 12:11 Atumyugi

@Atumyugi Hello, I meet the same problem,could you please give some advise?

Ccbov avatar Dec 16 '19 13:12 Ccbov

I think this problem is from pre train model, if you don't have the pre train model for users, you won't get the better performance.

Atumyugi avatar Dec 16 '19 13:12 Atumyugi

@Atumyugi 谢谢,我会试一下!

Ccbov avatar Dec 16 '19 13:12 Ccbov

Though I am too late, commenting in case others face the same issue: The reason for this is this code: https://github.com/sanghyun-son/EDSR-PyTorch/blob/9d3bb0ec620ea2ac1b5e5e7a32b0133fbba66fd2/src/model/edsr.py#L24 Only first scale model is trained at a time. xD

harshraj22 avatar Jun 30 '21 10:06 harshraj22

@Ccbov Hey brother, have you resolved this problem yet? It seems that it's no helpful to use the pre_train. Looking forward to your reply!

pzq-xjtu avatar Jul 18 '21 13:07 pzq-xjtu

@Atumyugi It seems that it's no helpful to use the pre_train. The MDSR model only train X2 model too. How did you deal with the problem? Looking forward to your reply!

pzq-xjtu avatar Jul 18 '21 13:07 pzq-xjtu