Alan-xw / RealSR

[Unofficial implementation] Toward Real-World Single Image Super-Resolution: A New Benchmark and A New Model (ICCV 2019)
81 stars 11 forks source link

calc_psnr() #5

Open luyao-cv opened 4 years ago

luyao-cv commented 4 years ago

Hi, the author() uses the y channel to calculate psnr. Doesn't your calc_psnr function calculate the y channel?

Alan-xw commented 4 years ago

Hi, I also use Y channel to calculate PSNR. You can check the function calc_psnr in utility.py