LoRA & Dreambooth training scripts & GUI use kohya-ss's trainer, for diffusion model.
 
 
 
 
 
Go to file
秋葉杏 d43a3b3509
update run.ipynb
2023-11-16 18:02:22 +08:00
assets feat: tageditor 2023-11-15 17:28:06 +08:00
config major: rename toml folder to config 2023-08-31 10:35:24 +08:00
frontend@101eeae15b feat: tageditor 2023-11-15 17:28:06 +08:00
huggingface init 2023-01-22 21:45:39 +08:00
logs fix install-cn xformers 2023-01-23 13:45:34 +08:00
mikazuki update 2023-11-15 21:04:08 +08:00
output init 2023-01-22 21:45:39 +08:00
sd-models init 2023-01-22 21:45:39 +08:00
sd-scripts@f3e69531c3 fix dreambooth bugs 2023-11-09 17:41:25 +08:00
.gitattributes crlf 2023-02-10 14:09:27 +08:00
.gitignore update 2023-09-09 17:40:54 +08:00
.gitmodules feat: tageditor 2023-11-15 17:28:06 +08:00
LICENSE Create LICENSE 2023-06-01 20:47:39 +08:00
README-zh.md update readme 2023-10-03 21:24:04 +08:00
README.md v1.7.2 2023-10-10 21:13:49 +08:00
gui.py update 2023-11-15 21:04:08 +08:00
install-cn.ps1 update 2023-10-16 13:08:16 +08:00
install.bash fix install script, close #287 2023-11-15 20:25:40 +08:00
install.ps1 update install script 2023-09-11 20:58:55 +08:00
interrogate.ps1 Update interrogate.ps1 (#17) 2023-03-01 20:47:36 +08:00
requirements.txt feat: tageditor 2023-11-15 17:28:06 +08:00
requirements_win.txt feat: tageditor 2023-11-15 17:28:06 +08:00
resize.ps1 更新动态调整方式 2023-03-27 00:22:58 +08:00
run.ipynb update run.ipynb 2023-11-16 18:02:22 +08:00
run_gui.ps1 don't activate venv in bash 2023-04-27 17:36:17 +08:00
run_gui.sh Update run_gui.sh (#123) 2023-05-21 00:30:37 +08:00
svd_merge.ps1 添加SVD合成脚本 (#115) 2023-05-14 10:24:05 +08:00
tagger.ps1 update 1.4.2 2023-07-31 20:51:05 +08:00
tagger.sh Add tagger (#192) 2023-07-31 10:53:08 +08:00
tensorboard.ps1 tf log level 2023-04-27 17:39:09 +08:00
train.ipynb update train.ipynb 2023-01-26 10:35:28 +08:00
train.ps1 update 2023-10-08 19:14:36 +08:00
train.sh update 2023-10-08 19:14:36 +08:00
train_by_toml.ps1 update, close #252 2023-10-02 17:06:29 +08:00
train_by_toml.sh update, close #252 2023-10-02 17:06:29 +08:00

README.md

SD-Trainer

SD-Trainer

Enjoy Stable Diffusion Train

GitHub Repo stars GitHub forks license release

Download · Documents · 中文README

LoRA-scripts (a.k.a SD-Trainer)

LoRA & Dreambooth training GUI & scripts preset & one key training environment for kohya-ss/sd-scripts

NEW: Train GUI

image

Follow the installation guide below to install the GUI, then run run_gui.ps1(windows) or run_gui.sh(linux) to start the GUI.

Usage

Clone repo with submodules

git clone --recurse-submodules https://github.com/Akegarasu/lora-scripts

Required Dependencies

Python 3.10.8 and Git

Windows

Installation

Run install.ps1 will automaticilly create a venv for you and install necessary deps.

Train

Edit train.ps1, and run it.

Linux

Installation

Run install.bash will create a venv and install necessary deps.

Train

Training script train.sh will not activate venv for you. You should activate venv first.

source venv/bin/activate

Edit train.sh, and run it.

TensorBoard

Run tensorboard.ps1 will start TensorBoard at http://localhost:6006/