zsyOAOA / ResShift

ResShift: Efficient Diffusion Model for Image Super-resolution by Residual Shifting (NeurIPS@2023 Spotlight, TPAMI@2024)
Other
956 stars 50 forks source link

Questions on models/gaussian_diffusion.py #99

Open Hiilay opened 1 month ago

Hiilay commented 1 month ago

Sorry to bother you again. I have some questions on models/gaussian_diffusion.py, https://github.com/zsyOAOA/ResShift/blob/2bc69fdd39827385c91db49cb1d155c69d5e85e8/models/gaussian_diffusion.py#L350 what is the meaning of param model and denoised_fn? Which one should be UNet? Looking forward to your reply, thanks in advance!

Hiilay commented 1 month ago

And denoised_fn seems to be None in the part of realsrgan project, is it correct?