wyhuai / DDNM

[ICLR 2023 Oral] Zero-Shot Image Restoration Using Denoising Diffusion Null-Space Model
MIT License
1.16k stars 83 forks source link

How to calculate the Consistency metric and SSIM? #53

Closed Walleclipse closed 1 year ago

Walleclipse commented 1 year ago

Thank you for your code.

I'm curious about the calculation of the Consistency metric and SSIM as reported in the paper. Would it be possible for you to provide the code for these metrics?

wyhuai commented 1 year ago

Hi, sorry for the late response. We use from basicsr.metrics.psnr_ssim import calculate_ssim to calculate SSIM. Can you provide your email? I can send you the code.

Walleclipse commented 1 year ago

Thank you very much.

FouierL commented 1 month ago

Hi, sorry for the late response. We use from basicsr.metrics.psnr_ssim import calculate_ssim to calculate SSIM. Can you provide your email? I can send you the code.

hi, wyhuai, your work is so good and inspire me a lot. i am a little bit confused when i calculate consistency metrics by myself, could you please send this code to me? thanks a lot for your help! my email is wuchenxu@mail.ustc.edu.cn.