Skip to content

LoRA & Dreambooth training scripts & GUI use kohya-ss's trainer, for diffusion model.

License

Notifications You must be signed in to change notification settings

hameln-Zhao/lora-scripts

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/

About

LoRA & Dreambooth training scripts & GUI use kohya-ss's trainer, for diffusion model.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 54.5%
  • PowerShell 21.9%
  • Shell 16.3%
  • Jupyter Notebook 6.7%
  • Dockerfile 0.6%