Stability-AI / stablediffusion

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

Fix encode inside ddim.py #231

Open ErgastiAlex opened 1 year ago

ErgastiAlex commented 1 year ago

There is a bug inside ddim encode() method, the index of t is wrong, it should be step and not i, this is a possible fix.