Commit ·
b764cc8
1
Parent(s): 1d6c382
Upload 2 files
Browse files- Euphy.safetensors +3 -0
- finetune_lora_cmd.yaml +36 -0
Euphy.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a0e9645e74b71a31cc6ca6fcb091a169aa2de58d8b6d5eb27ecebdfdbab04cc0
|
| 3 |
+
size 151113604
|
finetune_lora_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 |
+
- /content/kohya-trainer/train_network.py
|
| 7 |
+
- --output_name=Euphy
|
| 8 |
+
- --pretrained_model_name_or_path=/content/pretrained_model/anything-v4.5-pruned.ckpt
|
| 9 |
+
- --vae=/content/vae/anime.vae.pt
|
| 10 |
+
- --train_data_dir=/content/drive/MyDrive/Euphy
|
| 11 |
+
- --in_json=/content/drive/MyDrive/training_dir/meta_lat.json
|
| 12 |
+
- --output_dir=/content/drive/MyDrive/training_dir/output
|
| 13 |
+
- --network_dim=128
|
| 14 |
+
- --network_alpha=128
|
| 15 |
+
- --network_module=networks.lora
|
| 16 |
+
- --unet_lr=0.0001
|
| 17 |
+
- --text_encoder_lr=5e-05
|
| 18 |
+
- --optimizer_type=AdamW8bit
|
| 19 |
+
- --learning_rate=2e-06
|
| 20 |
+
- --lr_scheduler=constant
|
| 21 |
+
- --lr_warmup_steps=250
|
| 22 |
+
- --dataset_repeats=10
|
| 23 |
+
- --resolution=512
|
| 24 |
+
- --keep_tokens=1
|
| 25 |
+
- --mixed_precision=fp16
|
| 26 |
+
- --save_precision=fp16
|
| 27 |
+
- --save_n_epoch_ratio=3
|
| 28 |
+
- --save_model_as=safetensors
|
| 29 |
+
- --train_batch_size=4
|
| 30 |
+
- --max_token_length=225
|
| 31 |
+
- --max_train_epochs=20
|
| 32 |
+
- --clip_skip=2
|
| 33 |
+
- --logging_dir=/content/training_dir/logs
|
| 34 |
+
- --log_prefix=Euphy
|
| 35 |
+
- --shuffle_caption
|
| 36 |
+
- --xformers
|