You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
NwTbbetter
changed the title
Question about the second state
Question about the second stage
Mar 14, 2024
During training, at time stamp t, noise are uniformly sampled based on the interval 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.
Normally speaking, it is very unlikely the matched state is 0 (this indicates a noise model with very small variance). This can only be possible if Stage1 failed or input MRI volumes are noiseless already. However, if you still want to run Phase3 even if the matched step is 0, you can manually clip the value to be higher. In this case, the Stage3 model will begin to hallucinate unreal information to the data, rather than 'denoise' the data.
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?
The text was updated successfully, but these errors were encountered: