An implementation of Stable Diffusion from scratch.
Install the requirements using the following command:
pip install -r requirements.txt
- Download
vocab.json
andmerges.txt
from https://huggingface.co/runwayml/stable-diffusion-v1-5/tree/main/tokenizer and save them in thedata
folder - Download
v1-5-pruned-emaonly.ckpt
from https://huggingface.co/runwayml/stable-diffusion-v1-5/tree/main and save it in thedata
folder
Just download the ckpt
file from any fine-tuned SD (up to v1.5).
- InkPunk Diffusion: https://huggingface.co/Envvi/Inkpunk-Diffusion/tree/main
- Illustration Diffusion (Hollie Mengert): https://huggingface.co/ogkalu/Illustration-Diffusion/tree/main
This implementation is a rewrite of this implementation.
The purpose of this project is to apply and expand my knowledge about stable diffusion.