tibtiq / stable-diffusion

A latent text-to-image diffusion model

Home Page:https://ommer-lab.com/research/latent-diffusion-models/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Followed this guide for setting this repo up

Setup

After following the guide above. Run the following command.

conda env update -f environment_update.yaml

This command will fix an import error I couldn't resolve on a fresh environment install.

Generating images

Modify the following command

python scripts/txt2img.py --prompt "a close-up portrait of a cat by pablo picasso, vivid, abstract art, colorful, vibrant" --plms --n_iter 5 --n_samples 1

or use run.ipynb

Sources

About

A latent text-to-image diffusion model

https://ommer-lab.com/research/latent-diffusion-models/

License:Other


Languages

Language:Jupyter Notebook 93.7%Language:Python 6.2%Language:Shell 0.0%Language:PowerShell 0.0%