Go to file
Victor Hall f90d8e5b53 data loader tweaks 2023-04-18 22:11:51 -04:00
.devcontainer Split requirements between build and runtime 2023-04-01 00:29:10 +02:00
.github try cache busting 2023-04-15 16:39:51 -04:00
cfgs
data data loader tweaks 2023-04-18 22:11:51 -04:00
doc update clip skip doc 2023-04-16 20:19:08 -04:00
docker add license label to container 2023-04-15 19:03:39 -04:00
scripts
test Use filenames for caption if no main prompt in yaml 2023-04-14 00:59:26 +02:00
utils data loader tweaks 2023-04-18 22:11:51 -04:00
.gitignore support for saving the optimizer state 2023-04-13 22:31:22 -05:00
.pylintrc
LICENSE
LICENSE_AGPL
README.md add vast-runpod video links to main readme 2023-04-15 14:25:39 -04:00
Train_Colab.ipynb Merge pull request #130 from nawnie/main 2023-04-14 21:02:45 -04:00
Train_JupyterLab.ipynb Add lion lib and speed test 2023-04-14 00:59:26 +02:00
activate_venv.bat
caption.py
chain.bat
chain0.json
chain1.json
chain2.json
optimizer.json
sample_prompts.json
sample_prompts.txt
train.json docs 2023-04-02 21:43:46 -04:00
train.py data loader tweaks 2023-04-18 22:11:51 -04:00
trainSD21.json
validation_default.json
windows_setup.cmd use compel for sample prompting; enable clip skip for samples 2023-04-14 19:12:06 +02:00

README.md

EveryDream Trainer 2.0

Welcome to v2.0 of EveryDream trainer! Now with more Diffusers, faster, and even more features!

For the most up to date news and community discussions, please join us on Discord!

Discord!

If you find this tool useful, please consider subscribing to the project on Patreon or a one-time donation on Ko-fi. Your donations keep this project alive as a free open source tool with ongoing enhancements.

Patreon or Kofi.

If you're coming from Dreambooth, please read this for an explanation of why EveryDream is not Dreambooth.

Requirements

Windows 10/11, Linux (Ubuntu 20.04+ recommended), or use the linux Docker container

Python 3.10.x

Nvidia GPU with 11GB VRAM or more (note: 1080 Ti and 2080 Ti may require compiling xformers yourself)

16GB system RAM recommended minimum

Single GPU is currently supported

32GB of system RAM recommended for 50k+ training images, but may get away with sufficient swap file and 16GB

Ampere or newer 24GB+ (3090/A5000/4090, etc) recommended for 10k+ images

...Or use any computer with a web browser and run on Vast/Colab. See Cloud section below.

Video tutorials

Basic setup and getting started

Covers install, setup of base models, startning training, basic tweaking, and looking at your logs

Multiaspect and crop jitter explainer

Behind the scenes look at how the trainer handles multiaspect and crop jitter

Companion tools repo

Make sure to check out the tools repo, it has a grab bag of scripts to help with your data curation prior to training. It has automatic bulk BLIP captioning for BLIP, script to web scrape based on Laion data files, script to rename generic pronouns to proper names or append artist tags to your captions, etc.

Cloud/Docker

Free tier Google Colab notebook

* RunPod / Vast Instructions

* Vast.ai Video Tutorial

Runpod Video Tutorial

Docker image link

Docs

Setup and installation

Download and setup base models

Data Preparation

Training - How to start training

Troubleshooting

Basic Tweaking - Important args to understand to get started

Advanced Tweaking and Advanced Optimizer Tweaking

Chaining training sessions - Modify training parameters by chaining training sessions together end to end

Shuffling Tags

Data Balancing - Includes my small treatise on model "preservation" with additional ground truth data

Logging

Validation - Use a validation split on your data to see when you are overfitting and tune hyperparameters

Contributing