Commit
•
7d32ba8
1
Parent(s):
3c4ac5c
Upload mandolorav1_cmd.yaml
Browse files- mandolorav1_cmd.yaml +36 -0
mandolorav1_cmd.yaml
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
command:
|
2 |
+
- accelerate
|
3 |
+
- launch
|
4 |
+
- --config_file=/content/kohya-trainer/accelerate_config/config.yaml
|
5 |
+
- --num_cpu_threads_per_process=8
|
6 |
+
- train_network.py
|
7 |
+
- --output_name=mandoLORA
|
8 |
+
- --pretrained_model_name_or_path=/content/pretrained_model/Stable-Diffusion-v1-5.safetensors
|
9 |
+
- --vae=/content/vae/stablediffusion.vae.pt
|
10 |
+
- --train_data_dir=/content/LoRA/train_data
|
11 |
+
- --in_json=/content/LoRA/meta_lat.json
|
12 |
+
- --output_dir=/content/LoRA/output
|
13 |
+
- --network_dim=128
|
14 |
+
- --network_alpha=128
|
15 |
+
- --network_module=networks.lora
|
16 |
+
- --optimizer_type=AdamW8bit
|
17 |
+
- --learning_rate=0.0001
|
18 |
+
- --unet_lr=0.0001
|
19 |
+
- --text_encoder_lr=5e-05
|
20 |
+
- --lr_scheduler=constant
|
21 |
+
- --dataset_repeats=120
|
22 |
+
- --resolution=512
|
23 |
+
- --noise_offset=0.1
|
24 |
+
- --train_batch_size=1
|
25 |
+
- --max_train_steps=1
|
26 |
+
- --mixed_precision=fp16
|
27 |
+
- --save_precision=fp16
|
28 |
+
- --save_n_epoch_ratio=3
|
29 |
+
- --save_model_as=safetensors
|
30 |
+
- --max_token_length=225
|
31 |
+
- --gradient_checkpointing
|
32 |
+
- --gradient_accumulation_steps=1
|
33 |
+
- --clip_skip=1
|
34 |
+
- --logging_dir=/content/LoRA/logs
|
35 |
+
- --log_prefix=mandoLORA
|
36 |
+
- --shuffle_caption
|