greatlog / UnpairedSR

This is an offical implementation of the CVPR2022's paper [Learning the Degradation Distribution for Blind Image Super-Resolution](https://arxiv.org/abs/2203.04962)
165 stars 12 forks source link

Calculation about noise_mean #22

Open tmpss93172 opened 2 years ago

tmpss93172 commented 2 years ago

Hi, thanks for the code sharing. I have one question about the calculating way of noise mean. Why do you use MSELoss instead of just summing all the noise first and then dividing by the total number? Using MSELoss will let all single noise values do square first, and then sum up. It might not get the correct value of the noise mean.

Thanks!