Rkb87del commited on
Commit
b3420bb
·
verified ·
1 Parent(s): 38a7f7d

Upload folder using huggingface_hub

Browse files
Files changed (37) hide show
  1. .gitattributes +28 -0
  2. README.md +42 -0
  3. bluyel2-000004.safetensors +3 -0
  4. bluyel2-000008.safetensors +3 -0
  5. bluyel2-000012.safetensors +3 -0
  6. bluyel2.safetensors +3 -0
  7. dataset.toml +14 -0
  8. sample/bluyel2_000100_00_20250929121114_100.png +3 -0
  9. sample/bluyel2_000100_01_20250929121109_100.png +3 -0
  10. sample/bluyel2_000100_02_20250929121128_100.png +3 -0
  11. sample/bluyel2_000100_03_20250929121119_100.png +3 -0
  12. sample/bluyel2_000200_00_20250929121608_100.png +3 -0
  13. sample/bluyel2_000200_01_20250929121608_100.png +3 -0
  14. sample/bluyel2_000200_02_20250929121618_100.png +3 -0
  15. sample/bluyel2_000200_03_20250929121618_100.png +3 -0
  16. sample/bluyel2_000300_00_20250929122012_100.png +3 -0
  17. sample/bluyel2_000300_01_20250929122012_100.png +3 -0
  18. sample/bluyel2_000300_02_20250929122022_100.png +3 -0
  19. sample/bluyel2_000300_03_20250929122022_100.png +3 -0
  20. sample/bluyel2_000400_00_20250929122412_100.png +3 -0
  21. sample/bluyel2_000400_01_20250929122413_100.png +3 -0
  22. sample/bluyel2_000400_02_20250929122422_100.png +3 -0
  23. sample/bluyel2_000400_03_20250929122423_100.png +3 -0
  24. sample/bluyel2_000500_00_20250929122819_100.png +3 -0
  25. sample/bluyel2_000500_01_20250929122819_100.png +3 -0
  26. sample/bluyel2_000500_02_20250929122829_100.png +3 -0
  27. sample/bluyel2_000500_03_20250929122829_100.png +3 -0
  28. sample/bluyel2_000600_00_20250929123222_100.png +3 -0
  29. sample/bluyel2_000600_01_20250929123222_100.png +3 -0
  30. sample/bluyel2_000600_02_20250929123231_100.png +3 -0
  31. sample/bluyel2_000600_03_20250929123231_100.png +3 -0
  32. sample/bluyel2_000700_00_20250929123622_100.png +3 -0
  33. sample/bluyel2_000700_01_20250929123622_100.png +3 -0
  34. sample/bluyel2_000700_02_20250929123632_100.png +3 -0
  35. sample/bluyel2_000700_03_20250929123631_100.png +3 -0
  36. sample_prompts.txt +4 -0
  37. train.sh +34 -0
.gitattributes CHANGED
@@ -33,3 +33,31 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ sample/bluyel2_000100_00_20250929121114_100.png filter=lfs diff=lfs merge=lfs -text
37
+ sample/bluyel2_000100_01_20250929121109_100.png filter=lfs diff=lfs merge=lfs -text
38
+ sample/bluyel2_000100_02_20250929121128_100.png filter=lfs diff=lfs merge=lfs -text
39
+ sample/bluyel2_000100_03_20250929121119_100.png filter=lfs diff=lfs merge=lfs -text
40
+ sample/bluyel2_000200_00_20250929121608_100.png filter=lfs diff=lfs merge=lfs -text
41
+ sample/bluyel2_000200_01_20250929121608_100.png filter=lfs diff=lfs merge=lfs -text
42
+ sample/bluyel2_000200_02_20250929121618_100.png filter=lfs diff=lfs merge=lfs -text
43
+ sample/bluyel2_000200_03_20250929121618_100.png filter=lfs diff=lfs merge=lfs -text
44
+ sample/bluyel2_000300_00_20250929122012_100.png filter=lfs diff=lfs merge=lfs -text
45
+ sample/bluyel2_000300_01_20250929122012_100.png filter=lfs diff=lfs merge=lfs -text
46
+ sample/bluyel2_000300_02_20250929122022_100.png filter=lfs diff=lfs merge=lfs -text
47
+ sample/bluyel2_000300_03_20250929122022_100.png filter=lfs diff=lfs merge=lfs -text
48
+ sample/bluyel2_000400_00_20250929122412_100.png filter=lfs diff=lfs merge=lfs -text
49
+ sample/bluyel2_000400_01_20250929122413_100.png filter=lfs diff=lfs merge=lfs -text
50
+ sample/bluyel2_000400_02_20250929122422_100.png filter=lfs diff=lfs merge=lfs -text
51
+ sample/bluyel2_000400_03_20250929122423_100.png filter=lfs diff=lfs merge=lfs -text
52
+ sample/bluyel2_000500_00_20250929122819_100.png filter=lfs diff=lfs merge=lfs -text
53
+ sample/bluyel2_000500_01_20250929122819_100.png filter=lfs diff=lfs merge=lfs -text
54
+ sample/bluyel2_000500_02_20250929122829_100.png filter=lfs diff=lfs merge=lfs -text
55
+ sample/bluyel2_000500_03_20250929122829_100.png filter=lfs diff=lfs merge=lfs -text
56
+ sample/bluyel2_000600_00_20250929123222_100.png filter=lfs diff=lfs merge=lfs -text
57
+ sample/bluyel2_000600_01_20250929123222_100.png filter=lfs diff=lfs merge=lfs -text
58
+ sample/bluyel2_000600_02_20250929123231_100.png filter=lfs diff=lfs merge=lfs -text
59
+ sample/bluyel2_000600_03_20250929123231_100.png filter=lfs diff=lfs merge=lfs -text
60
+ sample/bluyel2_000700_00_20250929123622_100.png filter=lfs diff=lfs merge=lfs -text
61
+ sample/bluyel2_000700_01_20250929123622_100.png filter=lfs diff=lfs merge=lfs -text
62
+ sample/bluyel2_000700_02_20250929123632_100.png filter=lfs diff=lfs merge=lfs -text
63
+ sample/bluyel2_000700_03_20250929123631_100.png filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - text-to-image
4
+ - flux
5
+ - lora
6
+ - diffusers
7
+ - template:sd-lora
8
+ - fluxgym
9
+ widget:
10
+ - output:
11
+ url: sample/bluyel2_000100_03_20250929121119_100.png
12
+ text: BluYel2, a dog in a park --d 100
13
+ - output:
14
+ url: sample/bluyel2_000200_03_20250929121618_100.png
15
+ text: BluYel2, a person sitting by a window --d 100
16
+ - output:
17
+ url: sample/bluyel2_000300_03_20250929122022_100.png
18
+ text: BluYel2, a boat on a lake --d 100
19
+ - output:
20
+ url: sample/bluyel2_000500_03_20250929122829_100.png
21
+ text: BluYel2, a cup of coffee on a table --d 100
22
+ base_model: black-forest-labs/FLUX.1-dev
23
+ instance_prompt: BluYel2,
24
+ license: other
25
+ license_name: flux-1-dev-non-commercial-license
26
+ license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
27
+ ---
28
+
29
+ # BluYel2
30
+
31
+ A Flux LoRA trained on a local computer with [Fluxgym](https://github.com/cocktailpeanut/fluxgym)
32
+
33
+ <Gallery />
34
+
35
+ ## Trigger words
36
+
37
+ You should use `BluYel2,` to trigger the image generation.
38
+
39
+ ## Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, Forge, etc.
40
+
41
+ Weights for this model are available in Safetensors format.
42
+
bluyel2-000004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f494325a8d4d26b22bd1b4ed844d14fd31fd99cdc670f62e54e32586e104fe36
3
+ size 39760984
bluyel2-000008.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:be2d7a3fcd11d1baebe512c909e730457b1b2312f44514ec39c3728f786bf91b
3
+ size 39760984
bluyel2-000012.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:697897987e79d7f4faf96160f14fed730321cbb84800c1c47e807f88b3f1f4d7
3
+ size 39760984
bluyel2.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:50a94957d65520152eee2990cbaedba6575b6f41eb9fd013731e021ff91ade31
3
+ size 39760984
dataset.toml ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [general]
2
+ shuffle_caption = false
3
+ caption_extension = '.txt'
4
+ keep_tokens = 1
5
+
6
+ [[datasets]]
7
+ resolution = 512
8
+ batch_size = 1
9
+ keep_tokens = 1
10
+
11
+ [[datasets.subsets]]
12
+ image_dir = '/home/Ubuntu/apps/fluxgym/datasets/bluyel2'
13
+ class_tokens = 'BluYel2,'
14
+ num_repeats = 10
sample/bluyel2_000100_00_20250929121114_100.png ADDED

Git LFS Details

  • SHA256: 386180c82e800b0cb668a8ee6d3418fa05ef63b88cb3cbe8c5d32c08c52f5368
  • Pointer size: 131 Bytes
  • Size of remote file: 403 kB
sample/bluyel2_000100_01_20250929121109_100.png ADDED

Git LFS Details

  • SHA256: 857d374bbd9fba239d131c15a8f7c94bbfb21273fbbc1cb331d0c43770744e15
  • Pointer size: 131 Bytes
  • Size of remote file: 376 kB
sample/bluyel2_000100_02_20250929121128_100.png ADDED

Git LFS Details

  • SHA256: 5bc15364044da6adc3b7496f06965ef707ddad5fa529469c5fe4856a33dffb67
  • Pointer size: 131 Bytes
  • Size of remote file: 368 kB
sample/bluyel2_000100_03_20250929121119_100.png ADDED

Git LFS Details

  • SHA256: b74429ac8b9aa946854b530896dca748aa56c8a08bae37d27cb16e3350523881
  • Pointer size: 131 Bytes
  • Size of remote file: 336 kB
sample/bluyel2_000200_00_20250929121608_100.png ADDED

Git LFS Details

  • SHA256: 4b829a318439225e4b55d290b526e4e387b1870395925da3d18b7e0a970047e7
  • Pointer size: 131 Bytes
  • Size of remote file: 383 kB
sample/bluyel2_000200_01_20250929121608_100.png ADDED

Git LFS Details

  • SHA256: 7f04c160b0042909935a5b5a031acd14fc4fddfcff8542fe2c8c41a962cbc8e2
  • Pointer size: 131 Bytes
  • Size of remote file: 379 kB
sample/bluyel2_000200_02_20250929121618_100.png ADDED

Git LFS Details

  • SHA256: c90f228b00cb1033993f7e8ef5897ba7d495ba6357c7d19ef86f19df53adbc11
  • Pointer size: 131 Bytes
  • Size of remote file: 323 kB
sample/bluyel2_000200_03_20250929121618_100.png ADDED

Git LFS Details

  • SHA256: 9d44aa93a73d38d6a491ae2ef9b7744f75131e8906f5dd09769b05d0900c6e4c
  • Pointer size: 131 Bytes
  • Size of remote file: 365 kB
sample/bluyel2_000300_00_20250929122012_100.png ADDED

Git LFS Details

  • SHA256: 726545a331a69eacf44c4e3723ebf7c8a74c0b3793817f689bc4bc5289a9ae07
  • Pointer size: 131 Bytes
  • Size of remote file: 414 kB
sample/bluyel2_000300_01_20250929122012_100.png ADDED

Git LFS Details

  • SHA256: a3f0443e1ada895fc70be5af86ed9b568144ad095cdf41a935fb0084387998d6
  • Pointer size: 131 Bytes
  • Size of remote file: 388 kB
sample/bluyel2_000300_02_20250929122022_100.png ADDED

Git LFS Details

  • SHA256: e954ddefe8e478eb6daf8b1ce398de69ba29f50b48d76655a72dfb3421f985d7
  • Pointer size: 131 Bytes
  • Size of remote file: 375 kB
sample/bluyel2_000300_03_20250929122022_100.png ADDED

Git LFS Details

  • SHA256: f8409b3c45c18cf02387054c505805f2e6491dc1e91dde0e861438a0127d8f41
  • Pointer size: 131 Bytes
  • Size of remote file: 321 kB
sample/bluyel2_000400_00_20250929122412_100.png ADDED

Git LFS Details

  • SHA256: 9593ce4da8b649382a19a5ba10d74c97ca7db990114d7c06c7befec37543f3f5
  • Pointer size: 131 Bytes
  • Size of remote file: 398 kB
sample/bluyel2_000400_01_20250929122413_100.png ADDED

Git LFS Details

  • SHA256: e3906339e11ae2b77971cae51ac78ad008ec1430aabbf7ed8c89c8601786b2bd
  • Pointer size: 131 Bytes
  • Size of remote file: 417 kB
sample/bluyel2_000400_02_20250929122422_100.png ADDED

Git LFS Details

  • SHA256: 2df3dd4313dd3288e6f40adf49c9f08d8baca3b78ea99a8dbe77689924389437
  • Pointer size: 131 Bytes
  • Size of remote file: 398 kB
sample/bluyel2_000400_03_20250929122423_100.png ADDED

Git LFS Details

  • SHA256: 70375ebf75d2fac35a471ab02c0711985bd82611f1c80f274e5b2680b448479d
  • Pointer size: 131 Bytes
  • Size of remote file: 356 kB
sample/bluyel2_000500_00_20250929122819_100.png ADDED

Git LFS Details

  • SHA256: 6992aa485692a5f68a3b64d0ae80b089c7b972250af92ba38716ab7ffeb8ac4c
  • Pointer size: 131 Bytes
  • Size of remote file: 397 kB
sample/bluyel2_000500_01_20250929122819_100.png ADDED

Git LFS Details

  • SHA256: bbdafac74c9de3b2d2203dd7f0a58916f52d8fe0724d849e364c2a9f9945db29
  • Pointer size: 131 Bytes
  • Size of remote file: 402 kB
sample/bluyel2_000500_02_20250929122829_100.png ADDED

Git LFS Details

  • SHA256: f79324b86a51103b0f7bea8ca95ce485baa3dc7310bcff8354fe6511a78c750d
  • Pointer size: 131 Bytes
  • Size of remote file: 357 kB
sample/bluyel2_000500_03_20250929122829_100.png ADDED

Git LFS Details

  • SHA256: 16a4717befb2472835ad40e5ffa82bd3b6efe843801eb8bc3f3e614f934794f6
  • Pointer size: 131 Bytes
  • Size of remote file: 340 kB
sample/bluyel2_000600_00_20250929123222_100.png ADDED

Git LFS Details

  • SHA256: a4962c428ab192f8c1808c16b1108c9d162d23aa15c5b3f38996be9453dce235
  • Pointer size: 131 Bytes
  • Size of remote file: 429 kB
sample/bluyel2_000600_01_20250929123222_100.png ADDED

Git LFS Details

  • SHA256: 0618698379be1492f14f28aaf4811d50783c39fc0d8a73191707f07754c17910
  • Pointer size: 131 Bytes
  • Size of remote file: 373 kB
sample/bluyel2_000600_02_20250929123231_100.png ADDED

Git LFS Details

  • SHA256: 1d887df1c8946b907b0e20b6193b775a4f360216d640e42303522c6abe264e6d
  • Pointer size: 131 Bytes
  • Size of remote file: 393 kB
sample/bluyel2_000600_03_20250929123231_100.png ADDED

Git LFS Details

  • SHA256: 6a69414256866fbfa165be7a5450a00c56a2344b3a7b9a1fc10656296fd14d2f
  • Pointer size: 131 Bytes
  • Size of remote file: 363 kB
sample/bluyel2_000700_00_20250929123622_100.png ADDED

Git LFS Details

  • SHA256: 1109cf5ab80e28b189a4ffcf6a015fa24fb90d6bfe83c9a973552a62db8d7f5d
  • Pointer size: 131 Bytes
  • Size of remote file: 427 kB
sample/bluyel2_000700_01_20250929123622_100.png ADDED

Git LFS Details

  • SHA256: 77a50f52024b798dfaae0976748ef6273ad8e624192638e6d5144e4e1ecfd854
  • Pointer size: 131 Bytes
  • Size of remote file: 415 kB
sample/bluyel2_000700_02_20250929123632_100.png ADDED

Git LFS Details

  • SHA256: e647cac30dd710693eafec375ff615ca255727f082c3fcc9d4e6cebb193f0461
  • Pointer size: 131 Bytes
  • Size of remote file: 374 kB
sample/bluyel2_000700_03_20250929123631_100.png ADDED

Git LFS Details

  • SHA256: ebe914a516fde3a54834ad2ac61be0860f40c4ed532ae0934e94472ed5501d72
  • Pointer size: 131 Bytes
  • Size of remote file: 383 kB
sample_prompts.txt ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ BluYel2, a dog in a park --d 100
2
+ BluYel2, a person sitting by a window --d 100
3
+ BluYel2, a boat on a lake --d 100
4
+ BluYel2, a cup of coffee on a table --d 100
train.sh ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ accelerate launch \
2
+ --mixed_precision bf16 \
3
+ --num_cpu_threads_per_process 1 \
4
+ sd-scripts/flux_train_network.py \
5
+ --pretrained_model_name_or_path "/home/Ubuntu/apps/fluxgym/models/unet/flux1-dev.sft" \
6
+ --clip_l "/home/Ubuntu/apps/fluxgym/models/clip/clip_l.safetensors" \
7
+ --t5xxl "/home/Ubuntu/apps/fluxgym/models/clip/t5xxl_fp16.safetensors" \
8
+ --ae "/home/Ubuntu/apps/fluxgym/models/vae/ae.sft" \
9
+ --cache_latents_to_disk \
10
+ --save_model_as safetensors \
11
+ --sdpa --persistent_data_loader_workers \
12
+ --max_data_loader_n_workers 2 \
13
+ --seed 42 \
14
+ --gradient_checkpointing \
15
+ --mixed_precision bf16 \
16
+ --save_precision bf16 \
17
+ --network_module networks.lora_flux \
18
+ --network_dim 4 \
19
+ --optimizer_type adamw8bit \--sample_prompts="/home/Ubuntu/apps/fluxgym/outputs/bluyel2/sample_prompts.txt" --sample_every_n_steps="100" \
20
+ --learning_rate 8e-4 \
21
+ --cache_text_encoder_outputs \
22
+ --cache_text_encoder_outputs_to_disk \
23
+ --fp8_base \
24
+ --highvram \
25
+ --max_train_epochs 16 \
26
+ --save_every_n_epochs 4 \
27
+ --dataset_config "/home/Ubuntu/apps/fluxgym/outputs/bluyel2/dataset.toml" \
28
+ --output_dir "/home/Ubuntu/apps/fluxgym/outputs/bluyel2" \
29
+ --output_name bluyel2 \
30
+ --timestep_sampling shift \
31
+ --discrete_flow_shift 3.1582 \
32
+ --model_prediction_type raw \
33
+ --guidance_scale 1 \
34
+ --loss_type l2 \