Open NwTbbetter opened 3 months ago
Thanks for your interests in our work!
sqrt_alphas_cumprod_prev[t]
and sqrt_alphas_cumprod_prev[t-1]
(see https://github.com/StanfordMIMI/DDM2/blob/main/model/mri_modules/diffusion.py#L358). For a total number of N time stamps, we need N+1 sqrt_alphas_cumprod_prev
values to define N intervals to sample from. Based on the cumprod nature of the variable, the last value to be appended must be 1.
Hi, thank you for your contribution and sharing. I would like to ask, why does sqrt_alphas_cumprod_prev need append 1? And how should we solve the problem when the time step matched in the second stage is 0?