Closed ZiaZhang closed 3 years ago
Thanks for sharing your code. In the calc_psnr function,why do the RGB image need to be divided by 3? (diff = (sr - hr).data.div(rgb_range))
Do you understand it ?
Thanks for sharing your code. In the calc_psnr function,why do the RGB image need to be divided by 3? (diff = (sr - hr).data.div(rgb_range))