Skip to content

A simple example for using `DDIMInverseScheduler` for inverting an input image to StableDiffusion's latent space

License

Notifications You must be signed in to change notification settings

shaibagon/diffusers_ddim_inversion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Diffusers DDIM Inversion example

A simple example of using DDIMInverseScheduler for inverting an input image to StableDiffusion's latent space

Usage

Just run

python ddim_inversion.py

The code loads the poike.png example image, and uses DDIMInverseScheduler to invert it to the noisy latent and reconstruct it back.

Notes

Reconstruction is not perfect -- you can add more diffusion steps.

About

A simple example for using `DDIMInverseScheduler` for inverting an input image to StableDiffusion's latent space

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages