alterzero / DBPN-Pytorch

The project is an official implement of our CVPR2018 paper "Deep Back-Projection Networks for Super-Resolution" (Winner of NTIRE2018 and PIRM2018)
https://alterzero.github.io/projects/DBPN.html
MIT License
565 stars 164 forks source link

what's real critertion in main.py? #61

Open zhizhengyan opened 3 years ago

zhizhengyan commented 3 years ago

Dear Sir,     I find some contradictions in your code about main.py file that confused me. Thus, I wanna to verify this question. In L125, you declare critertion=nn.L1Loss(), 7c82bd019f47fac9a29dbaa563a6ae6

But according to psnr formula, we must get mse value that is L2Loss(MSELoss). Your code L87 using L1Loss to compute mse, is it mae?

f4d50c403512bf4877a998574528bfc     looking foward to hearing from you interpretation. Thanks.