HolmesShuan / EDSR-ssim

Different SSIM metrics in CNN-based super resolution algorithms (e.g., EDSR CVPRW2017, RDN CVPR2018, MSRN ECCV2018).
BSD 2-Clause "Simplified" License
38 stars 4 forks source link

print SSIM in output #2

Open rezraz1 opened 2 years ago

rezraz1 commented 2 years ago

Hi. Thank you for your guidance and complete explanations. I have done these changes in the code and it was run without error, but the problem I have is that the value of SSIM was not printed in the output, and I want to know what I should do if I want this value to be printed in the output. thanks.

HolmesShuan commented 2 years ago

Hi, thanks for your interest. I have updated the README. To be specific, you may change the PSNR in this Line to SSIM. Then, during the training process, you will be able to monitor the changes of SSIM.

rezraz1 commented 2 years ago

Hi, thanks for your interest. I have updated the README. To be specific, you may change the PSNR in this Line to SSIM. Then, during the training process, you will be able to monitor the changes of SSIM.

Thanks for your response. What should I do if I want to display the value of SSIM and PSNR at the same time?

Liiiiaictx commented 4 months ago

@HolmesShuan 我添加了你说的计算ssim的代码但是出现这种错误 ValueError: convolve2d inputs must both be 2-D arrays,该怎么解决