Akegarasu/lora-scripts
Fork: 529 Star: 4234 (更新于 2024-08-19 15:25:18)
license: AGPL-3.0
Language: Python .
LoRA & Dreambooth training scripts & GUI use kohya-ss's trainer, for diffusion model.
最后发布版本: v1.8.3 ( 2024-01-15 20:02:17)
![SD-Trainer](https://a1.cdn.osfipin.com/site/mygit/1px.png)
SD-Trainer
✨ Enjoy Stable Diffusion Train! ✨
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 WebUI
The REAL Stable Diffusion Training Studio. Everything in one WebUI.
Follow the installation guide below to install the GUI, then run run_gui.ps1
(windows) or run_gui.sh
(linux) to start the GUI.
Tensorboard | WD 1.4 Tagger | Tag Editor |
---|---|---|
![]() |
![]() |
![]() |
Usage
Required Dependencies
Python 3.10 and Git
Clone repo with submodules
git clone --recurse-submodules https://github.com/Akegarasu/lora-scripts
✨ SD-Trainer GUI
Windows
Installation
Run install.ps1
will automaticilly create a venv for you and install necessary deps.
If you are in China mainland, please use install-cn.ps1
Train
run run_gui.ps1
, then program will open http://127.0.0.1:28000 automanticlly
Linux
Installation
Run install.bash
will create a venv and install necessary deps.
Train
run bash run_gui.bash
, then program will open http://127.0.0.1:28000 automanticlly
Legacy training through run script manually
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/
Program arguments
Parameter Name | Type | Default Value | Description |
---|---|---|---|
--host |
str | "127.0.0.1" | Hostname for the server |
--port |
int | 28000 | Port to run the server |
--listen |
bool | false | Enable listening mode for the server |
--skip-prepare-environment |
bool | false | Skip the environment preparation step |
--disable-tensorboard |
bool | false | Disable TensorBoard |
--disable-tageditor |
bool | false | Disable tag editor |
--tensorboard-host |
str | "127.0.0.1" | Host to run TensorBoard |
--tensorboard-port |
int | 6006 | Port to run TensorBoard |
--localization |
str | Localization settings for the interface | |
--dev |
bool | false | Developer mode to disale some checks |
最近版本更新:(数据更新于 2024-08-03 03:26:01)
2024-01-15 20:02:17 v1.8.3
2024-01-02 18:53:31 v1.8.2
2023-11-15 20:27:09 v1.8.0
2023-10-12 11:32:11 v1.7.3
2023-10-03 21:16:02 v1.7.0
2023-09-01 20:14:47 v1.6.0
2023-07-13 11:31:41 v1.4.0
2023-06-01 13:27:14 v1.1.0
2023-03-06 01:10:51 v0.2.0
2023-03-03 17:38:01 v0.1.0
主题(topics):
dreambooth, finetune, lora
Akegarasu/lora-scripts同语言 Python最近更新仓库
2024-09-08 02:07:52 ultralytics/ultralytics
2024-09-08 00:06:31 goauthentik/authentik
2024-09-07 09:06:19 run-llama/llama_index
2024-09-07 01:46:22 mikumifa/biliTickerBuy
2024-09-06 18:48:00 open-compass/opencompass
2024-09-06 16:45:31 xorbitsai/inference