brian6091 / Dreambooth

Fine-tuning of diffusion models
Apache License 2.0
97 stars 20 forks source link
artificial-intelligence colab colab-notebook deep-learning dreambooth fine-tuning lora low-rank-approximation python stable-diffusion textual-inversion

Fine-tuning of Stable Diffusion models

Run Dreambooth or Low-rank Adaptation (LoRA) from the same notebook:

Open In Colab

$~$

Tested with Tesla T4 and A100 GPUs on Google Colab (some settings will not work on T4 due to limited memory)

Tested with Stable Diffusion v1-5 and Stable Diffusion v2-base.

This notebook borrows elements from ShivamShrirao's implementation, but is distinguished by some features:

$~$

Image comparing Dreambooth and LoRA (more information here):

full-size image here for the pixel-peepers

Buy Me A Coffee