latent-diffusion
latent-diffusion copied to clipboard
latent diffusion deterministic forward pass
In ddim.py, is there any implementation of this todo part: deterministic forward pass? if mask is not None: assert x0 is not None img_orig = self.model.q_sample(x0, ts) # TODO: deterministic forward pass? img = img_orig * mask + (1. - mask) * img