-
Notifications
You must be signed in to change notification settings - Fork 86
Description
I doubt that the code is still based on score-matching methods. In models/epsnet/dualenc.py, line 478, the noisy sample in forward diffusion process is different from the eq.(4) in DDPM, and the equation with subscription 2 in the paper. So that the noise calculated by d_gt and d_perturbed is hard to understand.
Second, the encoder's forward method does not embed time_step as the parameters to calculate the noise.
In langevin_dynamics_sample_diffusion method, the sampling process is also different from the Algorithm 1 in the paper. Why is the step_size formulated as shown in line 443?
Can you give me more details on the implementation? Maybe the code is based on the improved version of the original DDPM, such as score-based ones? How can I find more materials to understand your code where differences occur?