LoRA & Dreambooth training scripts & GUI use kohya-ss's trainer, for diffusion model.
 
 
 
 
 
Go to file
akiba 60bb4df617
major: rename toml folder to config
2023-08-31 10:35:24 +08:00
assets update 2023-04-29 14:34:16 +08:00
config major: rename toml folder to config 2023-08-31 10:35:24 +08:00
frontend@5e111902c7 v1.5.3 2023-08-31 10:23:40 +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 major: rename toml folder to config 2023-08-31 10:35:24 +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@adf99a332e update sd-scripts 2023-08-15 14:25:19 +08:00
.gitattributes crlf 2023-02-10 14:09:27 +08:00
.gitignore major: rename toml folder to config 2023-08-31 10:35:24 +08:00
.gitmodules submodule 2023-04-23 22:10:47 +08:00
LICENSE Create LICENSE 2023-06-01 20:47:39 +08:00
README.md Update README.md 2023-06-01 20:49:47 +08:00
gui.py major: rename toml folder to config 2023-08-31 10:35:24 +08:00
install-cn.ps1 update requirements 2023-08-13 18:20:55 +08:00
install.bash update requirements 2023-08-13 18:20:55 +08:00
install.ps1 requirements 2023-08-11 09:53:02 +08:00
interrogate.ps1 Update interrogate.ps1 (#17) 2023-03-01 20:47:36 +08:00
requirements.txt update requirements 2023-08-13 18:20:55 +08:00
requirements_win.txt update requirements 2023-08-13 18:20:55 +08:00
resize.ps1 更新动态调整方式 2023-03-27 00:22:58 +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 Small fix to add space around url to make the url clickable (#209) 2023-08-13 14:47:47 +08:00
train.sh Small fix to add space around url to make the url clickable (#209) 2023-08-13 14:47:47 +08:00
train_by_toml.ps1 major: rename toml folder to config 2023-08-31 10:35:24 +08:00
train_by_toml.sh major: rename toml folder to config 2023-08-31 10:35:24 +08:00

README.md

LoRA-scripts

LoRA training scripts 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/