NAFNet icon indicating copy to clipboard operation
NAFNet copied to clipboard

PSNR loss and L1 Loss

Open dasonglicu opened this issue 3 years ago • 1 comments

I want to know the quantitative comparisons between PSNR loss and L1 loss.

Since PSNR loss is adopted in NAFNet and HINet, I guess the PSNR loss achieves the better performance.

By the way, why PSNR loss is better? any gradient or optimization analysis?

dasonglicu avatar Jul 22 '22 10:07 dasonglicu

Hi, dmeatfloss,

When we participated in the NTIRE 2021, deblur competition, we suddenly thought "why not directly use the differentiable metric of PSNR as the optimization target, but use the indirect L1/L2 losses?". So we tried PSNR loss and our ablation experiments show that it is slightly better than L1/L2 (+0.01~0.02 dB) at that time. So it has been used until today.

mayorx avatar Jul 26 '22 06:07 mayorx