Sergey004 commited on
Commit
e0cfc38
·
verified ·
1 Parent(s): 10caa2e

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. Pumpkin_Illustrious/Run_Pumpkin_Illustrious.sh +70 -0
  2. Pumpkin_Illustrious/config/dataset_Pumpkin_Illustrious.toml +16 -0
  3. Pumpkin_Illustrious/config/training_Pumpkin_Illustrious.toml +61 -0
  4. Pumpkin_Illustrious/dataset/0b91fa078378835699e78ffc33ba3377.txt +1 -0
  5. Pumpkin_Illustrious/dataset/295ab995962b18b7a3582dccd7530666.txt +1 -0
  6. Pumpkin_Illustrious/dataset/32ea6b26d5a9823d.txt +1 -0
  7. Pumpkin_Illustrious/dataset/3d60480df86fa948.txt +1 -0
  8. Pumpkin_Illustrious/dataset/5016ca56-f4cf-4803-85cc-06664c50f7d4_12f13d8c-c813-4211-ae5f-d9a92c0d802a.txt +1 -0
  9. Pumpkin_Illustrious/dataset/5244f1293f229756.txt +1 -0
  10. Pumpkin_Illustrious/dataset/555187767c5afa83.txt +1 -0
  11. Pumpkin_Illustrious/dataset/70f93fe0617dca05.txt +1 -0
  12. Pumpkin_Illustrious/dataset/756da18a3a989fd5.txt +1 -0
  13. Pumpkin_Illustrious/dataset/785935edece94aa6.txt +1 -0
  14. Pumpkin_Illustrious/dataset/86f1e0d83f3cb0f0.txt +1 -0
  15. Pumpkin_Illustrious/dataset/97371b47ca2c2ad224376248c158eaae.txt +1 -0
  16. Pumpkin_Illustrious/dataset/GP7mB1PasAAjSOQ.txt +1 -0
  17. Pumpkin_Illustrious/dataset/GTY1_cubQAAL_bc.txt +1 -0
  18. Pumpkin_Illustrious/dataset/GY1_cfCaoAADtPs.txt +1 -0
  19. Pumpkin_Illustrious/dataset/a79c6c659f42024e9123f6d9d561fb6d.txt +1 -0
  20. Pumpkin_Illustrious/dataset/aee5daf9c6850f8b5a3a6fd817846206.txt +1 -0
  21. Pumpkin_Illustrious/dataset/b5600a02218342d2.txt +1 -0
  22. Pumpkin_Illustrious/dataset/c1699a606fe5268a2f4e6f6d8994e460.txt +1 -0
  23. Pumpkin_Illustrious/dataset/c4417057f8887af7.txt +1 -0
  24. Pumpkin_Illustrious/dataset/d4cacd8abe7e4fec.txt +1 -0
  25. Pumpkin_Illustrious/dataset/e9b7dbb82e7d06e170c402a52e6f36dd.txt +1 -0
  26. anai_aggretsuko_Illustrious/Run_anai_aggretsuko_Illustrious.sh +70 -0
  27. anai_aggretsuko_Illustrious/Run_scrape_anai_aggretsuko.sh +26 -0
  28. anai_aggretsuko_Illustrious/config/dataset_anai_aggretsuko_Illustrious.toml +16 -0
  29. anai_aggretsuko_Illustrious/config/training_anai_aggretsuko_Illustrious.toml +61 -0
  30. anai_aggretsuko_Illustrious/dataset/114085429_p0.txt +1 -0
  31. anai_aggretsuko_Illustrious/dataset/114085429_p1.txt +1 -0
  32. anai_aggretsuko_Illustrious/dataset/114085429_p10.txt +1 -0
  33. anai_aggretsuko_Illustrious/dataset/114085429_p2.txt +1 -0
  34. anai_aggretsuko_Illustrious/dataset/114085429_p3.txt +1 -0
  35. anai_aggretsuko_Illustrious/dataset/114085429_p4.txt +1 -0
  36. anai_aggretsuko_Illustrious/dataset/114085429_p5.txt +1 -0
  37. anai_aggretsuko_Illustrious/dataset/114085429_p6.txt +1 -0
  38. anai_aggretsuko_Illustrious/dataset/114085429_p7.txt +1 -0
  39. anai_aggretsuko_Illustrious/dataset/114085429_p8.txt +1 -0
  40. anai_aggretsuko_Illustrious/dataset/114085429_p9.txt +1 -0
  41. anai_aggretsuko_Illustrious/dataset/115853859_p0.txt +1 -0
  42. anai_aggretsuko_Illustrious/dataset/115853859_p1.txt +1 -0
  43. anai_aggretsuko_Illustrious/dataset/115853859_p2.txt +1 -0
  44. anai_aggretsuko_Illustrious/dataset/120270085_p0.txt +1 -0
  45. anai_aggretsuko_Illustrious/dataset/120270085_p1.txt +1 -0
  46. anai_aggretsuko_Illustrious/dataset/120270085_p2.txt +1 -0
  47. anai_aggretsuko_Illustrious/dataset/120270085_p3.txt +1 -0
  48. anai_aggretsuko_Illustrious/dataset/120270085_p4.txt +1 -0
  49. anai_aggretsuko_Illustrious/dataset/1940096 2794705 Anai.txt +1 -0
  50. anai_aggretsuko_Illustrious/dataset/1940102 2794711 Anal on Anai.txt +1 -0
Pumpkin_Illustrious/Run_Pumpkin_Illustrious.sh ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+ # (Необязательно, но хорошая практика)
3
+
4
+ # --- Активация окружения ---
5
+ # Убедитесь, что путь к вашему venv правильный!
6
+ # source ./Loras/lora_env/bin/activate || exit 1 # Пример с выходом при ошибке
7
+
8
+ echo "Starting LoRA Style Training Pipeline..."
9
+ echo "Ensure your virtual environment is activated."
10
+ echo "Using Python version: $(python --version)"
11
+ echo "Using GPU: $(nvidia-smi --query-gpu=name --format=csv,noheader)"
12
+
13
+ python master_train.py \
14
+ --project_name "Pumpkin_Illustrious" \
15
+ --base_dir "./Loras" \
16
+ --run_steps "tag,curate,config,train" \
17
+ \
18
+ --base_model "/mnt/e/stable-diffusion-webui/models/Stable-diffusion/SDXL/Ilust/illustriousXL_v01.safetensors" \
19
+ --base_vae "stabilityai/sdxl-vae" \
20
+ \
21
+ --overwrite_tags \
22
+ --tagging_method "wd14" \
23
+ --tagger_threshold 0.45 \
24
+ --tagger_batch_size 16 \
25
+ --tagger_blacklist "nsfw, lowres, bad anatomy, signature, watermark, text, artist name, virtual youtuber, parody, poorly drawn, amateur drawing, sketch" \
26
+ --caption_extension ".txt" \
27
+ --activation_tag "Pumpk1n, muscular" \
28
+ --remove_tags "solo, duo, group, simple background, white background, grey background, gradient background, abstract background, looking at viewer, upper body, full body, portrait, absurdres, highres, bad quality, normal quality, signature, artist name, text, watermark, logo, copyright, traditional media, scan, photo, official art, fanart, commission, request, meme, joke, parody, nsfw, sfw, child, loli, shota" \
29
+ --remove_duplicate_tags \
30
+ --sort_tags_alpha \
31
+ \
32
+ --resolution 1024 \
33
+ --keep_tokens 1 \
34
+ --preferred_unit "Epochs" \
35
+ --how_many 10 \
36
+ --save_every_n_epochs 1 \
37
+ --keep_only_last_n_epochs 10 \
38
+ --auto_repeats \
39
+ \
40
+ --unet_lr 3e-4 \
41
+ --text_encoder_lr 6e-5 \
42
+ --lr_scheduler "cosine_with_restarts" \
43
+ --lr_scheduler_num_cycles 3 \
44
+ --lr_warmup_ratio 0.05 \
45
+ --min_snr_gamma 7.0 \
46
+ \
47
+ --lora_type "LoRA" \
48
+ --network_dim 32 \
49
+ --network_alpha 16 \
50
+ \
51
+ --optimizer "AdamW8bit" \
52
+ --optimizer_args "weight_decay=0.1 betas=[0.9,0.99]" \
53
+ --train_batch_size 4 \
54
+ --precision "bf16" \
55
+ --cross_attention "sdpa" \
56
+ --cache_latents \
57
+ --auto_vram_params \
58
+ --cache_latents_to_disk \
59
+ --gradient_checkpointing \
60
+ --seed 42 \
61
+ --max_bucket_reso 4096 \
62
+ --num_cpu_threads 12
63
+
64
+ # --- Проверка завершения ---
65
+ EXIT_CODE=$?
66
+ if [ $EXIT_CODE -eq 0 ]; then
67
+ echo "Master script finished successfully."
68
+ else
69
+ echo "Master script failed with exit code $EXIT_CODE."
70
+ fi
Pumpkin_Illustrious/config/dataset_Pumpkin_Illustrious.toml ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [[datasets]]
2
+
3
+ [[datasets.subsets]]
4
+ image_dir = "/home/user/Local_train/Loras/Pumpkin_Illustrious/dataset"
5
+ num_repeats = 7
6
+ caption_extension = ".txt"
7
+
8
+ [general]
9
+ resolution = 1024
10
+ keep_tokens = 1
11
+ flip_aug = false
12
+ enable_bucket = true
13
+ bucket_reso_steps = 64
14
+ min_bucket_reso = 256
15
+ max_bucket_reso = 4096
16
+ bucket_no_upscale = false
Pumpkin_Illustrious/config/training_Pumpkin_Illustrious.toml ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [model_arguments]
2
+ pretrained_model_name_or_path = "/mnt/e/stable-diffusion-webui/models/Stable-diffusion/SDXL/Ilust/illustriousXL_v01.safetensors"
3
+ vae = "stabilityai/sdxl-vae"
4
+ v_parameterization = false
5
+
6
+ [network_arguments]
7
+ unet_lr = 0.0003
8
+ text_encoder_lr = 6e-5
9
+ network_dim = 32
10
+ network_alpha = 16
11
+ network_module = "networks.lora"
12
+ network_train_unet_only = false
13
+
14
+ [optimizer_arguments]
15
+ optimizer_type = "AdamW8bit"
16
+ learning_rate = 0.0003
17
+ optimizer_args = [ "weight_decay=0.1", "betas=[0.9,0.99]",]
18
+ lr_scheduler = "cosine_with_restarts"
19
+ lr_warmup_steps = 19
20
+ lr_scheduler_num_cycles = 3
21
+ max_grad_norm = 1.0
22
+ loss_type = "l2"
23
+
24
+ [dataset_arguments]
25
+ cache_latents = true
26
+ cache_latents_to_disk = true
27
+ cache_text_encoder_outputs = false
28
+ keep_tokens = 1
29
+ shuffle_caption = true
30
+ caption_extension = ".txt"
31
+
32
+ [training_arguments]
33
+ output_dir = "/home/user/Local_train/Loras/Pumpkin_Illustrious/output"
34
+ output_name = "Pumpkin_Illustrious"
35
+ save_precision = "fp16"
36
+ save_every_n_epochs = 1
37
+ save_last_n_epochs = 10
38
+ save_model_as = "safetensors"
39
+ max_train_epochs = 10
40
+ max_data_loader_n_workers = 2
41
+ persistent_data_loader_workers = true
42
+ seed = 42
43
+ gradient_checkpointing = true
44
+ gradient_accumulation_steps = 1
45
+ mixed_precision = "bf16"
46
+ full_bf16 = false
47
+ logging_dir = "/home/user/Local_train/Loras/Pumpkin_Illustrious/logs"
48
+ log_prefix = "Pumpkin_Illustrious"
49
+ log_with = "tensorboard"
50
+ lowram = false
51
+ train_batch_size = 4
52
+ xformers = false
53
+ sdpa = true
54
+ min_snr_gamma = 7.0
55
+ max_token_length = 225
56
+ bucket_reso_steps = 64
57
+ min_bucket_reso = 256
58
+ max_bucket_reso = 4096
59
+ bucket_no_upscale = false
60
+ enable_bucket = true
61
+ zero_terminal_snr = false
Pumpkin_Illustrious/dataset/0b91fa078378835699e78ffc33ba3377.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ Pumpk1n, muscular, 1boy, arm strap, collared shirt, colored skin, cowboy shot, halloween, hand on own chest, humanization, jack-o'-lantern, male focus, muscular male, necktie, pants, personification, pumpkin, purple necktie, purple pants, purple vest, shirt, sleeves rolled up, standing, vest, white shirt
Pumpkin_Illustrious/dataset/295ab995962b18b7a3582dccd7530666.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ Pumpk1n, muscular, 1boy, abs, bara, bulge, colored skin, halloween, halloween costume, jack-o'-lantern, male focus, muscular male, pants, pectorals, purple background, red eyes, smile, topless male
Pumpkin_Illustrious/dataset/32ea6b26d5a9823d.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ Pumpk1n, muscular, 1boy, :3, animal ears, black jacket, cape, cat ears, fangs, halloween, jack-o'-lantern, male focus, open mouth, smile, sparkle, straight-on, zipper
Pumpkin_Illustrious/dataset/3d60480df86fa948.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ Pumpk1n, muscular, 1boy, abs, bara, black skin, censored, colored skin, completely nude, drooling, fangs, fire, heart, jack-o'-lantern, large pectorals, male focus, mouth drool, multiple views, muscular male, navel, nude, pectorals, penis, personification, pokemon (creature), pumpkin, smile, stomach
Pumpkin_Illustrious/dataset/5016ca56-f4cf-4803-85cc-06664c50f7d4_12f13d8c-c813-4211-ae5f-d9a92c0d802a.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ Pumpk1n, muscular, 1boy, abs, bara, black skin, blush, collared shirt, colored skin, large pectorals, male focus, monster boy, muscular male, partially unbuttoned, pectoral cleavage, pectorals, shirt, smile
Pumpkin_Illustrious/dataset/5244f1293f229756.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ Pumpk1n, muscular, 1boy, abs, bara, black background, black skin, black theme, colored skin, drooling, fiery hair, fire, jack-o'-lantern, large pectorals, male focus, mouth drool, muscular male, no nipples, pectorals, pumpkin, smile, straight-on
Pumpkin_Illustrious/dataset/555187767c5afa83.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ Pumpk1n, muscular, 1boy, abs, bara, black skin, colored skin, cropped legs, drooling, food, jack-o'-lantern, male focus, monster boy, muscular male, object head, pants, pectorals, pumpkin, smile, sparkle, topless male
Pumpkin_Illustrious/dataset/70f93fe0617dca05.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ Pumpk1n, muscular, 1boy, abs, bara, bulge, colored skin, cropped legs, from below, grey skin, large pectorals, male focus, muscular male, naked towel, navel, no nipples, open mouth, pectorals, purple eyes, purple tongue, smile, sparkle, topless male, towel
Pumpkin_Illustrious/dataset/756da18a3a989fd5.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ Pumpk1n, muscular, 1boy, abs, bandaged arm, bandages, bat wings, black pants, cowboy shot, jack-o'-lantern, jewelry, male focus, pants, pumpkin, red eyes, ring, scarf, smile, spot color, topless male, wings
Pumpkin_Illustrious/dataset/785935edece94aa6.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ Pumpk1n, muscular, 1boy, black gloves, black jacket, collared shirt, flying sweatdrops, formal, gloves, halloween, index fingers together, jack-o'-lantern, jacket, long sleeves, male focus, necktie, pumpkin, red necktie, shirt, suit, vest, white shirt
Pumpkin_Illustrious/dataset/86f1e0d83f3cb0f0.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ Pumpk1n, muscular, 1boy, abs, bara, colored skin, cowboy shot, green eyes, halloween, halloween costume, jack-o'-lantern, large pectorals, male focus, monster boy, muscular male, navel, no nipples, pectorals, slime (substance), smile, sparkle, stitches, stomach, topless male
Pumpkin_Illustrious/dataset/97371b47ca2c2ad224376248c158eaae.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ Pumpk1n, muscular, 1boy, bara, belt, black pants, black skin, blank eyes, blush, bulge, collared shirt, colored skin, grin, large pectorals, male focus, monster boy, muscular male, pants, partially unbuttoned, pectoral cleavage, pectorals, shirt, smile, tight clothes
Pumpkin_Illustrious/dataset/GP7mB1PasAAjSOQ.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ Pumpk1n, muscular, 1boy, black gloves, black pants, black vest, collared shirt, gloves, halloween, halloween costume, jacket, jacket on shoulders, long sleeves, male focus, muscular male, object head, pants, red background, shirt, vampire, vest, white shirt
Pumpkin_Illustrious/dataset/GTY1_cubQAAL_bc.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ Pumpk1n, muscular, 1boy, bara, black pants, black skin, black vest, collared shirt, colored skin, cropped legs, halloween, halloween costume, large hands, large pectorals, male focus, monster boy, muscular male, pants, pectoral cleavage, pectorals, shirt, sparkle, vest, white shirt
Pumpkin_Illustrious/dataset/GY1_cfCaoAADtPs.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ Pumpk1n, muscular, 1boy, ascot, bandaged arm, bandages, black coat, coat, colored skin, cropped legs, glowing, green eyes, green skin, halloween, halloween costume, male focus, monster boy, muscular male, pants, sleeves rolled up, smile, sparkle
Pumpkin_Illustrious/dataset/a79c6c659f42024e9123f6d9d561fb6d.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ Pumpk1n, muscular, 1boy, 1other, collared shirt, floral print, grey skin, halloween, hawaiian shirt, heart, holding hands, jack-o'-lantern, male focus, open mouth, pov, pov hands, pumpkin, red eyes, red shirt, shirt, smile, speech bubble, spoken heart, trembling
Pumpkin_Illustrious/dataset/aee5daf9c6850f8b5a3a6fd817846206.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ Pumpk1n, muscular, 1boy, ^^^, abs, arm up, armpits, bara, black skin, colored skin, hand on own hip, jack-o'-lantern, large pectorals, male focus, monster boy, muscular male, navel, out-of-frame censoring, pectorals, pumpkin, selfie, smile
Pumpkin_Illustrious/dataset/b5600a02218342d2.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ Pumpk1n, muscular, 1boy, abs, bara, blood, blood on knife, completely nude, fire, halloween, heart, holding, holding knife, jack-o'-lantern, knife, large pectorals, male focus, monster boy, muscular male, no nipples, nude, pectorals, pumpkin, red eyes, smile, weapon
Pumpkin_Illustrious/dataset/c1699a606fe5268a2f4e6f6d8994e460.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ Pumpk1n, muscular, 1boy, bara, black gloves, black jacket, bulge, collared shirt, fire, formal, gloves, halloween, holding, jack-o'-lantern, jacket, male focus, muscular male, necktie, object head, pants, pectorals, red necktie, shirt, smoke, smoking, suit
Pumpkin_Illustrious/dataset/c4417057f8887af7.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ Pumpk1n, muscular, 1boy, bara, belt, black pants, black skin, blank eyes, blush, bulge, collared shirt, colored skin, grin, large pectorals, male focus, monster boy, muscular male, pants, partially unbuttoned, pectoral cleavage, pectorals, shirt, smile, tight clothes
Pumpkin_Illustrious/dataset/d4cacd8abe7e4fec.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ Pumpk1n, muscular, 1boy, bandaged arm, bandages, blue background, cigarette, costume, grey skin, halloween, halloween costume, jack-o'-lantern, jaggy lines, male focus, mummy costume, muscular male, naked bandage, pumpkin, purple background, smoke, smoking
Pumpkin_Illustrious/dataset/e9b7dbb82e7d06e170c402a52e6f36dd.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ Pumpk1n, muscular, !, 1boy, apron, biceps, black apron, chef hat, colored skin, grey shirt, hat, male focus, muscular male, pants, shirt, short sleeves, speech bubble, spoken exclamation mark
anai_aggretsuko_Illustrious/Run_anai_aggretsuko_Illustrious.sh ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+ # (Необязательно, но хорошая практика)
3
+
4
+ # --- Активация окружения ---
5
+ # Убедитесь, что путь к вашему venv правильный!
6
+ # source ./Loras/lora_env/bin/activate || exit 1 # Пример с выходом при ошибке
7
+
8
+ echo "Starting LoRA Style Training Pipeline..."
9
+ echo "Ensure your virtual environment is activated."
10
+ echo "Using Python version: $(python --version)"
11
+ echo "Using GPU: $(nvidia-smi --query-gpu=name --format=csv,noheader)"
12
+
13
+ python master_train.py \
14
+ --project_name "anai_aggretsuko_Illustrious" \
15
+ --base_dir "./Loras" \
16
+ --run_steps "tag,curate,config,train" \
17
+ \
18
+ --base_model "/mnt/e/stable-diffusion-webui/models/Stable-diffusion/SDXL/Ilust/illustriousXL_v01.safetensors" \
19
+ --base_vae "stabilityai/sdxl-vae" \
20
+ \
21
+ --overwrite_tags \
22
+ --tagging_method "wd14" \
23
+ --tagger_threshold 0.45 \
24
+ --tagger_batch_size 16 \
25
+ --tagger_blacklist "nsfw, lowres, bad anatomy, signature, watermark, text, artist name, virtual youtuber, parody, poorly drawn, amateur drawing, sketch" \
26
+ --caption_extension ".txt" \
27
+ --activation_tag "anai_aggretsuk0, white dress shirt, tan fur, blue tie, gray pants, brown dress shoes" \
28
+ --remove_tags "solo, duo, group, simple background, white background, grey background, gradient background, abstract background, looking at viewer, upper body, full body, portrait, absurdres, highres, bad quality, normal quality, signature, artist name, text, watermark, logo, copyright, traditional media, scan, photo, official art, fanart, commission, request, meme, joke, parody, nsfw, sfw, child, loli, shota" \
29
+ --remove_duplicate_tags \
30
+ --sort_tags_alpha \
31
+ \
32
+ --resolution 1024 \
33
+ --keep_tokens 1 \
34
+ --preferred_unit "Epochs" \
35
+ --how_many 10 \
36
+ --save_every_n_epochs 1 \
37
+ --keep_only_last_n_epochs 10 \
38
+ --auto_repeats \
39
+ \
40
+ --unet_lr 3e-4 \
41
+ --text_encoder_lr 6e-5 \
42
+ --lr_scheduler "cosine_with_restarts" \
43
+ --lr_scheduler_num_cycles 3 \
44
+ --lr_warmup_ratio 0.05 \
45
+ --min_snr_gamma 7.0 \
46
+ \
47
+ --lora_type "LoRA" \
48
+ --network_dim 32 \
49
+ --network_alpha 16 \
50
+ \
51
+ --optimizer "AdamW8bit" \
52
+ --optimizer_args "weight_decay=0.1 betas=[0.9,0.99]" \
53
+ --train_batch_size 4 \
54
+ --precision "bf16" \
55
+ --cross_attention "sdpa" \
56
+ --cache_latents \
57
+ --auto_vram_params \
58
+ --cache_latents_to_disk \
59
+ --gradient_checkpointing \
60
+ --seed 42 \
61
+ --max_bucket_reso 4096 \
62
+ --num_cpu_threads 12
63
+
64
+ # --- Проверка завершения ---
65
+ EXIT_CODE=$?
66
+ if [ $EXIT_CODE -eq 0 ]; then
67
+ echo "Master script finished successfully."
68
+ else
69
+ echo "Master script failed with exit code $EXIT_CODE."
70
+ fi
anai_aggretsuko_Illustrious/Run_scrape_anai_aggretsuko.sh ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+ # Script to scrape artworks from a specific author using master_train.py (gallery-dl backend)
3
+
4
+ # --- Activate environment if needed ---
5
+ source ./Loras/lora_env/bin/activate
6
+
7
+ echo "Starting image scraping..."
8
+ echo "Using Python version: $(python --version)"
9
+
10
+ python master_train.py \
11
+ --project_name "anai_aggretsuko_Illustrious" \
12
+ --base_dir "./Loras" \
13
+ --run_steps "scrape" \
14
+ --base_model "https://huggingface.co/OnomaAIResearch/Illustrious-xl-early-release-v0/resolve/main/Illustrious-XL-v0.1.safetensors" \
15
+ --base_vae "stabilityai/sdxl-vae" \
16
+ --source "all" \
17
+ --scrape_tags "anai aggretsuko" \
18
+ --scrape_limit 500 \
19
+ --cookies "www.furaffinity.net_cookies.txt"
20
+
21
+ EXIT_CODE=$?
22
+ if [ $EXIT_CODE -eq 0 ]; then
23
+ echo "Image scraping finished successfully."
24
+ else
25
+ echo "Image scraping failed with exit code $EXIT_CODE."
26
+ fi
anai_aggretsuko_Illustrious/config/dataset_anai_aggretsuko_Illustrious.toml ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [[datasets]]
2
+
3
+ [[datasets.subsets]]
4
+ image_dir = "/home/user/Local_train/Loras/anai_aggretsuko_Illustrious/dataset"
5
+ num_repeats = 3
6
+ caption_extension = ".txt"
7
+
8
+ [general]
9
+ resolution = 1024
10
+ keep_tokens = 1
11
+ flip_aug = false
12
+ enable_bucket = true
13
+ bucket_reso_steps = 64
14
+ min_bucket_reso = 256
15
+ max_bucket_reso = 4096
16
+ bucket_no_upscale = false
anai_aggretsuko_Illustrious/config/training_anai_aggretsuko_Illustrious.toml ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [model_arguments]
2
+ pretrained_model_name_or_path = "/mnt/e/stable-diffusion-webui/models/Stable-diffusion/SDXL/Ilust/illustriousXL_v01.safetensors"
3
+ vae = "stabilityai/sdxl-vae"
4
+ v_parameterization = false
5
+
6
+ [network_arguments]
7
+ unet_lr = 0.0003
8
+ text_encoder_lr = 6e-5
9
+ network_dim = 32
10
+ network_alpha = 16
11
+ network_module = "networks.lora"
12
+ network_train_unet_only = false
13
+
14
+ [optimizer_arguments]
15
+ optimizer_type = "AdamW8bit"
16
+ learning_rate = 0.0003
17
+ optimizer_args = [ "weight_decay=0.1", "betas=[0.9,0.99]",]
18
+ lr_scheduler = "cosine_with_restarts"
19
+ lr_warmup_steps = 39
20
+ lr_scheduler_num_cycles = 3
21
+ max_grad_norm = 1.0
22
+ loss_type = "l2"
23
+
24
+ [dataset_arguments]
25
+ cache_latents = true
26
+ cache_latents_to_disk = true
27
+ cache_text_encoder_outputs = false
28
+ keep_tokens = 1
29
+ shuffle_caption = true
30
+ caption_extension = ".txt"
31
+
32
+ [training_arguments]
33
+ output_dir = "/home/user/Local_train/Loras/anai_aggretsuko_Illustrious/output"
34
+ output_name = "anai_aggretsuko_Illustrious"
35
+ save_precision = "fp16"
36
+ save_every_n_epochs = 1
37
+ save_last_n_epochs = 10
38
+ save_model_as = "safetensors"
39
+ max_train_epochs = 10
40
+ max_data_loader_n_workers = 2
41
+ persistent_data_loader_workers = true
42
+ seed = 42
43
+ gradient_checkpointing = true
44
+ gradient_accumulation_steps = 1
45
+ mixed_precision = "bf16"
46
+ full_bf16 = false
47
+ logging_dir = "/home/user/Local_train/Loras/anai_aggretsuko_Illustrious/logs"
48
+ log_prefix = "anai_aggretsuko_Illustrious"
49
+ log_with = "tensorboard"
50
+ lowram = false
51
+ train_batch_size = 4
52
+ xformers = false
53
+ sdpa = true
54
+ min_snr_gamma = 7.0
55
+ max_token_length = 225
56
+ bucket_reso_steps = 64
57
+ min_bucket_reso = 256
58
+ max_bucket_reso = 4096
59
+ bucket_no_upscale = false
60
+ enable_bucket = true
61
+ zero_terminal_snr = false
anai_aggretsuko_Illustrious/dataset/114085429_p0.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ anai_aggretsuk0, white dress shirt, tan fur, blue tie, gray pants, brown dress shoes, 1boy, @_@, animal ears, black footwear, blue necktie, blue pants, chinese text, collared shirt, explosion, furry, furry male, long sleeves, male focus, necktie, open mouth, outstretched arms, pants, shirt, shoes, tail, white shirt
anai_aggretsuko_Illustrious/dataset/114085429_p1.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ anai_aggretsuk0, white dress shirt, tan fur, blue tie, gray pants, brown dress shoes, 1boy, animal ears, animal nose, bag, bags under eyes, body fur, buck teeth, cabbie hat, chinese text, closed mouth, collared shirt, expressionless, food, fox boy, furrification, furry, furry male, greyscale, happy, hat, holding, holding bag, holding food, jacket, long sleeves, looking to the side, male focus, mixed-language text, monochrome, multiple views, necktie, open clothes, open jacket, open mouth, outstretched arms, pants, plastic bag, pointing, shirt, shoes, short hair, smile, sparkle, speech bubble, spot color, standing, tail, teeth
anai_aggretsuko_Illustrious/dataset/114085429_p10.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ anai_aggretsuk0, white dress shirt, tan fur, blue tie, gray pants, brown dress shoes, 1boy, animal ears, blue eyes, blue necktie, blush, dog boy, dog tail, english text, furry, furry male, male focus, necktie, open mouth, own hands clasped, own hands together, pants, shirt, smile, sparkle, tail, tail wagging, white shirt
anai_aggretsuko_Illustrious/dataset/114085429_p2.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ anai_aggretsuk0, white dress shirt, tan fur, blue tie, gray pants, brown dress shoes, +_+, 1boy, anger vein, angry, bags under eyes, black eyes, black footwear, black pants, blank eyes, blue necktie, closed mouth, collared shirt, depressed, excited, grey hair, long sleeves, male focus, multiple views, necktie, no pupils, open mouth, pants, shaded face, shirt, short hair, smile, sparkle, sparkling eyes, standing, turn pale, white shirt, wide-eyed
anai_aggretsuko_Illustrious/dataset/114085429_p3.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ anai_aggretsuk0, white dress shirt, tan fur, blue tie, gray pants, brown dress shoes, 1boy, animal ears, animal nose, bear boy, coat, down jacket, furrification, furry, furry male, greyscale, hands in pockets, jacket, looking to the side, male focus, monochrome, pants, shoes, standing, tail, thick eyebrows, winter clothes, winter coat
anai_aggretsuko_Illustrious/dataset/114085429_p4.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ anai_aggretsuk0, white dress shirt, tan fur, blue tie, gray pants, brown dress shoes, 1boy, animal ears, animal nose, apron, cooking, cutting, cutting board, furry, furry male, greyscale, holding, holding knife, kitchen knife, knife, long sleeves, male focus, monochrome, open mouth, shirt, smile, sweat, sweatdrop, tail
anai_aggretsuko_Illustrious/dataset/114085429_p5.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ anai_aggretsuk0, white dress shirt, tan fur, blue tie, gray pants, brown dress shoes, 6+boys, :3, animal ears, blush, blush stickers, bow, bowtie, buck teeth, cat boy, closed eyes, closed mouth, crossed arms, dog boy, dog ears, dog tail, furry, furry female, furry male, greyscale, gun, half-closed eyes, happy, holding, holding gun, holding weapon, hood, jacket, long sleeves, male focus, monochrome, multiple boys, necktie, open mouth, outstretched arms, pants, shirt, shoes, smile, sparkle, speech bubble, standing, tail, teeth, thick eyebrows, weapon
anai_aggretsuko_Illustrious/dataset/114085429_p6.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ anai_aggretsuk0, white dress shirt, tan fur, blue tie, gray pants, brown dress shoes, 1boy, animal ears, bear ears, collared shirt, from above, furry, furry male, greyscale, holding, looking up, male focus, monochrome, necktie, pants, shirt, standing, thick eyebrows
anai_aggretsuko_Illustrious/dataset/114085429_p7.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ anai_aggretsuk0, white dress shirt, tan fur, blue tie, gray pants, brown dress shoes, 1boy, animal ears, bear boy, bucket, formal, furry, furry male, graphite (medium), holding bucket, male focus, monochrome, open mouth, smile, suit, tail, thick eyebrows
anai_aggretsuko_Illustrious/dataset/114085429_p8.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ anai_aggretsuk0, white dress shirt, tan fur, blue tie, gray pants, brown dress shoes, 1boy, animal ears, blue necktie, chinese text, furrification, furry, furry male, male focus, necktie, open mouth, outstretched arms, pants, shirt, simplified chinese text, speech bubble, spread arms, sweatdrop, tail, white hair
anai_aggretsuko_Illustrious/dataset/114085429_p9.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ anai_aggretsuk0, white dress shirt, tan fur, blue tie, gray pants, brown dress shoes, +_+, ..., 1boy, 1girl, :d, animal ears, animal nose, axe, blush, can, cellphone, cigarette, closed mouth, depressed, drinking, emphasis lines, furry, furry female, furry male, greyscale, hammer, happy, holding, holding axe, holding hammer, holding phone, long hair, long sleeves, looking at another, looking at phone, looking up, monochrome, multiple views, open mouth, pants, phone, shaded face, shirt, sitting, smartphone, smile, smoke, smoking, sparkle, sparkling eyes, spoken ellipsis, standing, stool, tail, turn pale, v-shaped eyebrows, wide-eyed
anai_aggretsuko_Illustrious/dataset/115853859_p0.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ anai_aggretsuk0, white dress shirt, tan fur, blue tie, gray pants, brown dress shoes, 1boy, ^_^, animal ears, black eyes, black footwear, black necktie, black pants, blue background, blue necktie, body fur, brown footwear, cellphone, chibi, closed eyes, dog boy, dog ears, dog tail, flip phone, furry, furry male, grey pants, holding, holding phone, leg up, long sleeves, male focus, multiple views, necktie, open mouth, pants, phone, salaryman, shirt, shoes, smartphone, smile, star (symbol), tail, white shirt
anai_aggretsuko_Illustrious/dataset/115853859_p1.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ anai_aggretsuk0, white dress shirt, tan fur, blue tie, gray pants, brown dress shoes, 1boy, animal ears, bear boy, bear ears, black footwear, blue necktie, fish, furry, furry male, grey eyes, grey pants, holding, holding knife, knife, male focus, musical note, necktie, open mouth, pants, phone, shirt, tail, thought bubble, turn pale, white shirt
anai_aggretsuko_Illustrious/dataset/115853859_p2.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ anai_aggretsuk0, white dress shirt, tan fur, blue tie, gray pants, brown dress shoes, 1boy, ^_^, animal ears, animal nose, arm up, belt, body fur, chinese text, clipboard, closed eyes, closed mouth, collared shirt, duck, flag, furrification, furry, furry male, greyscale, happy, holding, holding clipboard, jacket, korean text, long sleeves, male focus, monochrome, multiple views, necktie, one eye closed, open clothes, open mouth, pants, pocket, pointing, pointing at self, salute, shaded face, shirt, short hair, smile, sparkle, speech bubble, standing, star (symbol), tail
anai_aggretsuko_Illustrious/dataset/120270085_p0.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ anai_aggretsuk0, white dress shirt, tan fur, blue tie, gray pants, brown dress shoes, 1boy, :d, adjusting clothes, adjusting headwear, animal ears, arm up, black eyes, black pants, body fur, collared shirt, cowboy shot, cropped legs, dog boy, furry, furry male, grey shirt, hand on headwear, hand on own hip, hat, jacket, long sleeves, male focus, open mouth, pants, shirt, smile, tail
anai_aggretsuko_Illustrious/dataset/120270085_p1.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ anai_aggretsuk0, white dress shirt, tan fur, blue tie, gray pants, brown dress shoes, 1girl, animal ears, bow, bowtie, brown footwear, double v, furry, furry female, grey shirt, grey socks, hands up, long sleeves, multicolored background, open mouth, pink bow, pink bowtie, pink skirt, pleated skirt, sharp teeth, shirt, shoes, skirt, smile, socks, sparkle, standing, standing on one leg, tail, teeth, two-tone background, v, yellow background
anai_aggretsuko_Illustrious/dataset/120270085_p2.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ anai_aggretsuk0, white dress shirt, tan fur, blue tie, gray pants, brown dress shoes, 1boy, 1girl, :d, >_<, ^_^, animal ears, black pants, blue necktie, blue skirt, closed eyes, furry, furry female, furry male, furry with furry, happy, heads together, heart, holding hands, long sleeves, necktie, open mouth, pants, shirt, skirt, smile, standing, sweater, tail, tail wagging, xd
anai_aggretsuko_Illustrious/dataset/120270085_p3.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ anai_aggretsuk0, white dress shirt, tan fur, blue tie, gray pants, brown dress shoes, 2boys, ^_^, animal ears, animal nose, arm behind head, arm up, bags under eyes, blush, can, cellphone, cigarette, closed eyes, closed mouth, collared shirt, cup, dog boy, drunk, furry, furry male, greyscale, half-closed eyes, hand in pocket, hand on own chin, hand up, happy, head rest, holding, holding can, holding cup, holding drink, holding phone, hood, hood down, hoodie, laughing, long sleeves, looking at another, male focus, monochrome, multiple boys, multiple views, necktie, open mouth, pants, phone, shirt, short hair, smartphone, smile, squeans, standing, swept bangs, tail
anai_aggretsuko_Illustrious/dataset/120270085_p4.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ anai_aggretsuk0, white dress shirt, tan fur, blue tie, gray pants, brown dress shoes, 1boy, bear boy, bear ears, chinese text, fish, furry, furry male, ghost, male focus, monochrome, necktie, speech bubble, tears
anai_aggretsuko_Illustrious/dataset/1940096 2794705 Anai.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ anai_aggretsuk0, white dress shirt, tan fur, blue tie, gray pants, brown dress shoes, 1boy, animal ears, animal nose, anus, ass, ass focus, bent over, black background, blush, body fur, bottomless, brown eyes, clenched teeth, cowboy shot, dog boy, from behind, furry, furry male, half-closed eyes, hand up, long sleeves, looking back, male focus, perineum, presenting, shirt, snout, sweat, tail, teeth, testicles, two-tone fur, uncensored, white fur, white shirt, yellow fur
anai_aggretsuko_Illustrious/dataset/1940102 2794711 Anal on Anai.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ anai_aggretsuk0, white dress shirt, tan fur, blue tie, gray pants, brown dress shoes, !, !!, 2boys, anal, animal ears, animal nose, anus, ass, ass focus, bent over, black background, blush, body fur, bottomless, clenched teeth, constricted pupils, disembodied penis, dog boy, english text, from behind, furry, furry male, furry with non-furry, interspecies, long sleeves, looking back, male focus, multiple boys, penis, perineum, sex, shirt, snout, solo focus, sweat, tail, teeth, testicles, trembling, uncensored, white fur, white shirt, wide-eyed, yaoi