CompVis / latent-diffusion

High-Resolution Image Synthesis with Latent Diffusion Models
MIT License
11.57k stars 1.51k forks source link

latent diffusion deterministic forward pass #368

Open TerryMelody opened 4 months ago

TerryMelody commented 4 months ago

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

taustudent commented 1 week ago

@TerryMelody Hi Did you find something?