Kohya's GUILoRA


Windows
Git
$ git clone https://github.com/bmaltais/kohya_ss.git
$ cd cd kohya_ss
setup.bat
((0, 1, 2...))
>使
This machine
>使
No distributed training
>CPU
NO
>torch dynamo
NO
>DeepSpeed使
NO
>使GPUid
1 all
>FP16BF16使
nomadoorRTX3070BF16 BF16
()CUDNN 8.6
NVIDIA 30X0/40X0使
cuDNN v8.6.0
cudnn_windows
kohya_ss
kohya_ss
$ .\venv\Scripts\activate
$ python .\tools\cudann_1.8_install.py
nomadoor

upgrade.bat

gui-user.bat
URL

512×512
Topaz Gigapixel
8
基素
nomadoor
= × × epochs
👍 % = 0
Kohya's GUI Utilities BLIP使
WD14-tagger使
BLIPWD14-tagger使
Gyazo
Basic Captioning quoria-san,
Gyazo
txt
調
nomadoor基素

Dreambooth LoRA
基素kohyaNAI
📁Source model
Gyazo
使
🟩v2 / 🟩v_parameterization SD 2.X

📁Folders
Image folder
📁
📁img
📁100_quoria-san
🖼️📄txt
🚨img
$ C:/AI/SD /LoRA/img
100_quoria-san 100
15100
1500/
基素
Kohya's GUI 100 × × max_train_steps
🚨
1001010
15_ Epoch15 15×15=225 nomadoor
Regularisation folder ()
📁
📁classification
📁1_car
🖼️
imgclassification
Output folder
Stable Diffusion web UILoRA
$ ~~\stable-diffusion-webui\models\Lora
Logging folder
img
Model output name

📁Training parameters
LoRA type
LoRA / LoCoN / LoHA
Train batch size
2
()1or2
Epoch
1LoRA
1010XY
15
>Kohya_ss LoRA
>Kohya's GUILoRA#e80f5dEpochnLoRA
Caption Extension
.txt
Mixed precision
使bf16
Save precision
bf16使fp16
Cache latent
Kohya's GUILoRA#e80f8b使
Seed ( 1234)
1234
nomadoor
Learning rate
0.0001
LR Scheduler
cosine_with_restarts
Text Encoder learning rate
3e-5
Network Rank(Dimension) / Network Alpha
128
Max resolution ( 512,512)
512,512
576,576https://rentry.org/59xed3
Enable buckets ( )
🔻Advanced Configuration
Clip skip
1 2
>SD2.0使SD2.0https://github.com/kohya-ss/sd-scripts/blob/main/fine_tune_README_ja.md#%E4%BD%BF%E7%94%A8%E3%81%99%E3%82%8Bclip%E5%87%BA%E5%8A%9B%E3%81%AE%E5%A4%89%E6%9B%B4
Gradient checkpointing( 🟩)
>130%使https://huggingface.co/addy88/gptj8
Use 8bit adam ( )
使
nomadoor
Bucket resolution steps ( 64)
32
nomadoor
VAE818
Random crop instead of center crop ( 🟩)
Noise offset(0-1)
0.1
Rate of caption dropout ( 0)
0.1
10%
Max num workers for DataLoader
0
Configuration file()
Gyazo
.json Save💾

Train model
: 1 320045
基素
2 100006-7
CUDNN
210000nomadoor
248002
基素
GPU

Gyazo
Train model Start tensorboard
Gyazo

使
GyazoGyazoGyazo
prompt
qualia-san, 1girl,Highly Detailed,looking at viewer,upper body,from front,bangs,wide view ,chibi, full body, wearing kimono <lora:qualia-san_v1.0:0.7>
nishio



2023/4/16
nomadoor
Kohya's GUILoRA