Fayeben / GenerativeDiffusionPrior

Generative Diffusion Prior for Unified Image Restoration and Enhancement (CVPR2023)
Apache License 2.0
276 stars 30 forks source link

about corners in the code #33

Open Maydaybye opened 1 year ago

Maydaybye commented 1 year ago

Thank you for your great work, but I got some questions. Why put p_mean_variance and conditional_mean in for (hi, wi) in corners: what x_grid_mask means and why new_out_mean = th.div(new_out_mean, x_grid_mask)?

Maydaybye commented 1 year ago

why ddpm and guidance is limit to 256*256 every loop?