Holmes-Alan / dSRVAE

Unsupervised Real Image Super-Resolution via Variational AutoEncoder in CVPR2020
119 stars 15 forks source link

loss used for generator in main_GAN.py seems confusing #10

Open linfeng-789 opened 3 years ago

linfeng-789 commented 3 years ago

In main_GAN.py: line 85 :down_ref = down(ref) #down_ref is not used latter,ref is used to refer line 92 :SR_tar = G(target) #target is loaded from HR files , so G(target) looks incorrect Therefore i think codes should be corrected as : line 85 :down_target = down(target) line 92 :SR_tar = G(down_target ) did i get wrong with something? Please tell me ,thank you! And i want to ask : is the code main_GAN.py a survised version?