LoRA & Dreambooth training scripts & GUI use kohya-ss's trainer, for diffusion model.
 
 
 
 
 
Go to file
lkwfive f1eefbaf17
Update run_gui.sh (#123)
2023-05-21 00:30:37 +08:00
assets update 2023-04-29 14:34:16 +08:00
frontend@8b825ae611 update frontend 2023-05-20 12:33:34 +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
output init 2023-01-22 21:45:39 +08:00
sd-models init 2023-01-22 21:45:39 +08:00
sd-scripts@c924c47f37 update sdscripts 2023-05-17 15:15:57 +08:00
toml update 2023-04-29 14:08:32 +08:00
.gitattributes crlf 2023-02-10 14:09:27 +08:00
.gitignore more args 2023-02-04 12:42:37 +08:00
.gitmodules submodule 2023-04-23 22:10:47 +08:00
README.md remove more warnings 2023-05-03 17:36:18 +08:00
gui.py update 2023-05-18 15:29:42 +08:00
install-cn.ps1 update xformers version to 0.0.19 2023-05-07 15:31:42 +08:00
install.bash fix #110 2023-05-10 00:53:38 +08:00
install.ps1 fix #110 2023-05-10 00:53:38 +08:00
interrogate.ps1 Update interrogate.ps1 (#17) 2023-03-01 20:47:36 +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
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 try to fix error due to move, close #75 2023-05-09 11:37:05 +08:00
train.sh try to fix error due to move, close #75 2023-05-09 11:37:05 +08:00
train_by_toml.ps1 try to fix error due to move, close #75 2023-05-09 11:37:05 +08:00
train_by_toml.sh try to fix error due to move, close #75 2023-05-09 11:37:05 +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/