cheap views of intermediate Stable Diffusion results
Here we demonstrate how to do preview images of a Stable Diffusion's intermediate stages using a fast approximation to visualize the low-resolution (64px) latent state.
preview_decoder.py
has the fast latent-to-RGB decoder function.generator_pipeline.py
provides a DiffusionPipeline with a generate()
method to yield the latent data at each step. It is nearly a strict refactoring of the StableDiffusionPipeline in 🧨diffusers 0.3.