XunpengYi / Diff-IF

Official Code of Diff-IF: Multi-modality image fusion via diffusion model with fusion knowledge prior (Information Fusion 2024)
MIT License
39 stars 1 forks source link

DDIM or DDPM #3

Open Wei-1989 opened 5 months ago

Wei-1989 commented 5 months ago

Wonderful work! I have some confuse about this work, the sampling method mentioned in your paper is 'DDPM' ,but it seems 'DDIM' in code?

XunpengYi commented 5 months ago

The design of the method in the paper is introduced from the perspective of DDPM, rather than DDIM. It's more intuitive. When sampling, we use DDIM sampling for acceleration for DDPM sampling will lead to much time consuming. This application is straightforward. In the calculation of running time of the paper, the result we report is also the time of DDIM sampling. Of course, you can adapt the DDPM sampling according to your own needs, which is not difficult.

Wei-1989 commented 5 months ago

ok, I got it, thanks u for your answer~

Wei-1989 commented 5 months ago

ok, I got it, thanks u for your answer~