ritikvirus commited on
Commit
0b28eaf
·
verified ·
1 Parent(s): 06a875f

Upload folder using huggingface_hub

Browse files
Files changed (45) hide show
  1. .gitattributes +36 -0
  2. README.md +39 -3
  3. dataset.toml +14 -0
  4. sample/wojo_000300_00_20250215053402.png +3 -0
  5. sample/wojo_000300_01_20250215053408.png +3 -0
  6. sample/wojo_000300_02_20250215053413.png +3 -0
  7. sample/wojo_000600_00_20250215054914.png +3 -0
  8. sample/wojo_000600_01_20250215054919.png +3 -0
  9. sample/wojo_000600_02_20250215054925.png +3 -0
  10. sample/wojo_000900_00_20250215060425.png +3 -0
  11. sample/wojo_000900_01_20250215060431.png +3 -0
  12. sample/wojo_000900_02_20250215060437.png +3 -0
  13. sample/wojo_001200_00_20250215061937.png +3 -0
  14. sample/wojo_001200_01_20250215061943.png +3 -0
  15. sample/wojo_001200_02_20250215061948.png +3 -0
  16. sample/wojo_001500_00_20250215063452.png +3 -0
  17. sample/wojo_001500_01_20250215063458.png +3 -0
  18. sample/wojo_001500_02_20250215063504.png +3 -0
  19. sample/wojo_001800_00_20250215065004.png +3 -0
  20. sample/wojo_001800_01_20250215065010.png +3 -0
  21. sample/wojo_001800_02_20250215065016.png +3 -0
  22. sample/wojo_002100_00_20250215070517.png +3 -0
  23. sample/wojo_002100_01_20250215070522.png +3 -0
  24. sample/wojo_002100_02_20250215070528.png +3 -0
  25. sample/wojo_002400_00_20250215072029.png +3 -0
  26. sample/wojo_002400_01_20250215072035.png +3 -0
  27. sample/wojo_002400_02_20250215072040.png +3 -0
  28. sample/wojo_002700_00_20250215073541.png +3 -0
  29. sample/wojo_002700_01_20250215073547.png +3 -0
  30. sample/wojo_002700_02_20250215073552.png +3 -0
  31. sample/wojo_003000_00_20250215075053.png +3 -0
  32. sample/wojo_003000_01_20250215075059.png +3 -0
  33. sample/wojo_003000_02_20250215075104.png +3 -0
  34. sample/wojo_003300_00_20250215080605.png +3 -0
  35. sample/wojo_003300_01_20250215080610.png +3 -0
  36. sample/wojo_003300_02_20250215080616.png +3 -0
  37. sample/wojo_003600_00_20250215082116.png +3 -0
  38. sample/wojo_003600_01_20250215082122.png +3 -0
  39. sample/wojo_003600_02_20250215082128.png +3 -0
  40. sample_prompts.txt +3 -0
  41. train.sh +34 -0
  42. wojo-000004.safetensors +3 -0
  43. wojo-000008.safetensors +3 -0
  44. wojo-000012.safetensors +3 -0
  45. wojo.safetensors +3 -0
.gitattributes CHANGED
@@ -33,3 +33,39 @@ 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/wojo_000300_00_20250215053402.png filter=lfs diff=lfs merge=lfs -text
37
+ sample/wojo_000300_01_20250215053408.png filter=lfs diff=lfs merge=lfs -text
38
+ sample/wojo_000300_02_20250215053413.png filter=lfs diff=lfs merge=lfs -text
39
+ sample/wojo_000600_00_20250215054914.png filter=lfs diff=lfs merge=lfs -text
40
+ sample/wojo_000600_01_20250215054919.png filter=lfs diff=lfs merge=lfs -text
41
+ sample/wojo_000600_02_20250215054925.png filter=lfs diff=lfs merge=lfs -text
42
+ sample/wojo_000900_00_20250215060425.png filter=lfs diff=lfs merge=lfs -text
43
+ sample/wojo_000900_01_20250215060431.png filter=lfs diff=lfs merge=lfs -text
44
+ sample/wojo_000900_02_20250215060437.png filter=lfs diff=lfs merge=lfs -text
45
+ sample/wojo_001200_00_20250215061937.png filter=lfs diff=lfs merge=lfs -text
46
+ sample/wojo_001200_01_20250215061943.png filter=lfs diff=lfs merge=lfs -text
47
+ sample/wojo_001200_02_20250215061948.png filter=lfs diff=lfs merge=lfs -text
48
+ sample/wojo_001500_00_20250215063452.png filter=lfs diff=lfs merge=lfs -text
49
+ sample/wojo_001500_01_20250215063458.png filter=lfs diff=lfs merge=lfs -text
50
+ sample/wojo_001500_02_20250215063504.png filter=lfs diff=lfs merge=lfs -text
51
+ sample/wojo_001800_00_20250215065004.png filter=lfs diff=lfs merge=lfs -text
52
+ sample/wojo_001800_01_20250215065010.png filter=lfs diff=lfs merge=lfs -text
53
+ sample/wojo_001800_02_20250215065016.png filter=lfs diff=lfs merge=lfs -text
54
+ sample/wojo_002100_00_20250215070517.png filter=lfs diff=lfs merge=lfs -text
55
+ sample/wojo_002100_01_20250215070522.png filter=lfs diff=lfs merge=lfs -text
56
+ sample/wojo_002100_02_20250215070528.png filter=lfs diff=lfs merge=lfs -text
57
+ sample/wojo_002400_00_20250215072029.png filter=lfs diff=lfs merge=lfs -text
58
+ sample/wojo_002400_01_20250215072035.png filter=lfs diff=lfs merge=lfs -text
59
+ sample/wojo_002400_02_20250215072040.png filter=lfs diff=lfs merge=lfs -text
60
+ sample/wojo_002700_00_20250215073541.png filter=lfs diff=lfs merge=lfs -text
61
+ sample/wojo_002700_01_20250215073547.png filter=lfs diff=lfs merge=lfs -text
62
+ sample/wojo_002700_02_20250215073552.png filter=lfs diff=lfs merge=lfs -text
63
+ sample/wojo_003000_00_20250215075053.png filter=lfs diff=lfs merge=lfs -text
64
+ sample/wojo_003000_01_20250215075059.png filter=lfs diff=lfs merge=lfs -text
65
+ sample/wojo_003000_02_20250215075104.png filter=lfs diff=lfs merge=lfs -text
66
+ sample/wojo_003300_00_20250215080605.png filter=lfs diff=lfs merge=lfs -text
67
+ sample/wojo_003300_01_20250215080610.png filter=lfs diff=lfs merge=lfs -text
68
+ sample/wojo_003300_02_20250215080616.png filter=lfs diff=lfs merge=lfs -text
69
+ sample/wojo_003600_00_20250215082116.png filter=lfs diff=lfs merge=lfs -text
70
+ sample/wojo_003600_01_20250215082122.png filter=lfs diff=lfs merge=lfs -text
71
+ sample/wojo_003600_02_20250215082128.png filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -1,3 +1,39 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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/wojo_003600_00_20250215082116.png
12
+ text: wojo on the bike
13
+ - output:
14
+ url: sample/wojo_003600_01_20250215082122.png
15
+ text: wojo on the rocket
16
+ - output:
17
+ url: sample/wojo_003600_02_20250215082128.png
18
+ text: wojo as pirate
19
+ base_model: black-forest-labs/FLUX.1-dev
20
+ instance_prompt: wojo
21
+ license: other
22
+ license_name: flux-1-dev-non-commercial-license
23
+ license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
24
+ ---
25
+
26
+ # wojo
27
+
28
+ A Flux LoRA trained on a local computer with [Fluxgym](https://github.com/cocktailpeanut/fluxgym)
29
+
30
+ <Gallery />
31
+
32
+ ## Trigger words
33
+
34
+ You should use `wojo` to trigger the image generation.
35
+
36
+ ## Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, Forge, etc.
37
+
38
+ Weights for this model are available in Safetensors format.
39
+
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 = 1024
8
+ batch_size = 1
9
+ keep_tokens = 1
10
+
11
+ [[datasets.subsets]]
12
+ image_dir = '/app/fluxgym/datasets/wojo'
13
+ class_tokens = 'wojo'
14
+ num_repeats = 10
sample/wojo_000300_00_20250215053402.png ADDED

Git LFS Details

  • SHA256: a257def688bb3d0aea7417fedfc3f1ef80d18d3d172544c9cd592fbc3c971f80
  • Pointer size: 131 Bytes
  • Size of remote file: 339 kB
sample/wojo_000300_01_20250215053408.png ADDED

Git LFS Details

  • SHA256: 2118bfb5135c3a89b6534d11d52f5cc3475f745b97228a2d242a0bbc935cbe8e
  • Pointer size: 131 Bytes
  • Size of remote file: 208 kB
sample/wojo_000300_02_20250215053413.png ADDED

Git LFS Details

  • SHA256: 3d9bde5bf737442274b35c271b8fee34f8b4c7ca39efb711a8f9aae77f19243d
  • Pointer size: 131 Bytes
  • Size of remote file: 409 kB
sample/wojo_000600_00_20250215054914.png ADDED

Git LFS Details

  • SHA256: a77b69a784bcafc5133bd25f4f036e7fae25dc90aa6e9a157f7da56fc2a19237
  • Pointer size: 131 Bytes
  • Size of remote file: 403 kB
sample/wojo_000600_01_20250215054919.png ADDED

Git LFS Details

  • SHA256: f7cfa2f29abcdde5e5adb5a4b88fa1ebb1d47b26ffeab677b8a6615bf034b618
  • Pointer size: 131 Bytes
  • Size of remote file: 215 kB
sample/wojo_000600_02_20250215054925.png ADDED

Git LFS Details

  • SHA256: c9e9aecb29a9b5d6c7bc3233f2257b3932f8ba936e564a2ede07e928ff3cd59a
  • Pointer size: 131 Bytes
  • Size of remote file: 378 kB
sample/wojo_000900_00_20250215060425.png ADDED

Git LFS Details

  • SHA256: 254145bb43e4d8ba42567cccdda28aabf07b217cb521dd9da93648b8c552005c
  • Pointer size: 131 Bytes
  • Size of remote file: 297 kB
sample/wojo_000900_01_20250215060431.png ADDED

Git LFS Details

  • SHA256: 4770e7ea828e271f34b4ebdaa8de8fe68d3164660a0f6e4f1989c06cdbdbdb07
  • Pointer size: 131 Bytes
  • Size of remote file: 317 kB
sample/wojo_000900_02_20250215060437.png ADDED

Git LFS Details

  • SHA256: de5375cee88f8de3ea9706e2a803256b0bb0268c40eafcc9326fd3e982a25674
  • Pointer size: 131 Bytes
  • Size of remote file: 416 kB
sample/wojo_001200_00_20250215061937.png ADDED

Git LFS Details

  • SHA256: b10cde83582611682b2971988829070a079fc8806687ebf950336bcf0fd1ab89
  • Pointer size: 131 Bytes
  • Size of remote file: 366 kB
sample/wojo_001200_01_20250215061943.png ADDED

Git LFS Details

  • SHA256: 4a9fe92fc98367a2a9c7e054605c2e774c3741809b98d1f5e73c34a1e6b09fb0
  • Pointer size: 131 Bytes
  • Size of remote file: 196 kB
sample/wojo_001200_02_20250215061948.png ADDED

Git LFS Details

  • SHA256: fa785387a7e49cec3f1b7b632c200204779246428141f492cbb0c00b05d08b41
  • Pointer size: 131 Bytes
  • Size of remote file: 348 kB
sample/wojo_001500_00_20250215063452.png ADDED

Git LFS Details

  • SHA256: 7a55c80d3e9c2d3ed0b521349b450c62a01bc847e70d09082199feb3cac17eea
  • Pointer size: 131 Bytes
  • Size of remote file: 333 kB
sample/wojo_001500_01_20250215063458.png ADDED

Git LFS Details

  • SHA256: dd415546ea804f96c1443a001c6cb4884f1e039d83a3b4ef8d1e1e0a9616b29d
  • Pointer size: 131 Bytes
  • Size of remote file: 265 kB
sample/wojo_001500_02_20250215063504.png ADDED

Git LFS Details

  • SHA256: 80fb3e649bd4a1f5dc15d7f6be4ff0ac1daa0c9a71db906c193779a9bad04fdd
  • Pointer size: 131 Bytes
  • Size of remote file: 247 kB
sample/wojo_001800_00_20250215065004.png ADDED

Git LFS Details

  • SHA256: 9016b32d0b67d9471306d95a1f921efaf171d51d7a54d757d238184d769b1d45
  • Pointer size: 131 Bytes
  • Size of remote file: 358 kB
sample/wojo_001800_01_20250215065010.png ADDED

Git LFS Details

  • SHA256: 031d23475b793346882de4483fa82a2b54224da202b7488dd720f68e82a7b4c8
  • Pointer size: 131 Bytes
  • Size of remote file: 247 kB
sample/wojo_001800_02_20250215065016.png ADDED

Git LFS Details

  • SHA256: d9705faed047670b7183dea0ca32f2182071ccd9dcb35de2cb53449a3397dd28
  • Pointer size: 131 Bytes
  • Size of remote file: 302 kB
sample/wojo_002100_00_20250215070517.png ADDED

Git LFS Details

  • SHA256: 7a75fae8dadce7366a15531ad91f7aba12215877a2d32b9ec4f79270ec5e1ef7
  • Pointer size: 131 Bytes
  • Size of remote file: 325 kB
sample/wojo_002100_01_20250215070522.png ADDED

Git LFS Details

  • SHA256: 080e7b0114ad5b651e457f1891099be0c3081f913a044c4e5668d23feecd05d9
  • Pointer size: 131 Bytes
  • Size of remote file: 302 kB
sample/wojo_002100_02_20250215070528.png ADDED

Git LFS Details

  • SHA256: e62195016cc82ed9ff08e2f6bfdb383b0c554026833db229bbaad7ba1879f219
  • Pointer size: 131 Bytes
  • Size of remote file: 314 kB
sample/wojo_002400_00_20250215072029.png ADDED

Git LFS Details

  • SHA256: c273000a0993d47b53ea16707886f9f19cc6ead6965d32db1d1f7c2184a6ad5e
  • Pointer size: 131 Bytes
  • Size of remote file: 380 kB
sample/wojo_002400_01_20250215072035.png ADDED

Git LFS Details

  • SHA256: d81ccf119b9dc260bcc866c3b074e2aea2feef164f1228997386547e6d1da5a3
  • Pointer size: 131 Bytes
  • Size of remote file: 382 kB
sample/wojo_002400_02_20250215072040.png ADDED

Git LFS Details

  • SHA256: 3d1d6b7f6d7f50c0d4641c7731d45925b45915e02b8322f31c0fcd41d4f5bbd1
  • Pointer size: 131 Bytes
  • Size of remote file: 325 kB
sample/wojo_002700_00_20250215073541.png ADDED

Git LFS Details

  • SHA256: 73f1ecf6b5ba40818af83f924991b9d3210fa707b6c8fc5a743a5d087ed608fd
  • Pointer size: 131 Bytes
  • Size of remote file: 428 kB
sample/wojo_002700_01_20250215073547.png ADDED

Git LFS Details

  • SHA256: 193355ed000306c983f17a20b081dc0fb1c93815e313b14c9b3e418ce42cb7c7
  • Pointer size: 131 Bytes
  • Size of remote file: 449 kB
sample/wojo_002700_02_20250215073552.png ADDED

Git LFS Details

  • SHA256: 8e16d09a818fdff6eb3cbfeea96750b6ed2b3d85a818cd085986c29bd65c5313
  • Pointer size: 131 Bytes
  • Size of remote file: 423 kB
sample/wojo_003000_00_20250215075053.png ADDED

Git LFS Details

  • SHA256: a409d73d838bfd2d376dc2530ff295e42229545b03776620d9eb8588f9c59c08
  • Pointer size: 131 Bytes
  • Size of remote file: 339 kB
sample/wojo_003000_01_20250215075059.png ADDED

Git LFS Details

  • SHA256: c69e4b23f38476e83e9894d7e1afd4d9dd6ab8c569b909f197ebf09be12bc02e
  • Pointer size: 131 Bytes
  • Size of remote file: 377 kB
sample/wojo_003000_02_20250215075104.png ADDED

Git LFS Details

  • SHA256: b71fb57d4ff5db18e52cceab80dd30e90eadadd86b11d4aa5fbcd6746777d2dc
  • Pointer size: 131 Bytes
  • Size of remote file: 373 kB
sample/wojo_003300_00_20250215080605.png ADDED

Git LFS Details

  • SHA256: d7cc9a6f3babc0c3a42fe91aab1d55a8f6f51cab6ff2e11db3dff9ad1b73b4d0
  • Pointer size: 131 Bytes
  • Size of remote file: 397 kB
sample/wojo_003300_01_20250215080610.png ADDED

Git LFS Details

  • SHA256: eaba421e71d8b8fe392ac3a56ff4f650f24538d9303569f72bc06cba354277ab
  • Pointer size: 131 Bytes
  • Size of remote file: 343 kB
sample/wojo_003300_02_20250215080616.png ADDED

Git LFS Details

  • SHA256: f43bbac391001b18e90ad02a7da7f7397660b7ac408f3d5e3d7ec1baaecf1958
  • Pointer size: 131 Bytes
  • Size of remote file: 310 kB
sample/wojo_003600_00_20250215082116.png ADDED

Git LFS Details

  • SHA256: 7c7570ec88e4abf7bb7ad0a3932cf9c3299037c92e1bd47b99ae48cdc4f43ac5
  • Pointer size: 131 Bytes
  • Size of remote file: 322 kB
sample/wojo_003600_01_20250215082122.png ADDED

Git LFS Details

  • SHA256: 1e2a563df858372218e549e5390f6dd19e852022d95e36b742fef82dbf6a00cd
  • Pointer size: 131 Bytes
  • Size of remote file: 421 kB
sample/wojo_003600_02_20250215082128.png ADDED

Git LFS Details

  • SHA256: 4202dd9c624955ce8772352d5f3ee5917d7c822552050878ddad65be77bb12e3
  • Pointer size: 131 Bytes
  • Size of remote file: 393 kB
sample_prompts.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ wojo on the bike
2
+ wojo on the rocket
3
+ wojo as pirate
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 "/app/fluxgym/models/unet/flux1-dev.sft" \
6
+ --clip_l "/app/fluxgym/models/clip/clip_l.safetensors" \
7
+ --t5xxl "/app/fluxgym/models/clip/t5xxl_fp16.safetensors" \
8
+ --ae "/app/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="/app/fluxgym/outputs/wojo/sample_prompts.txt" --sample_every_n_steps="300" \
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 "/app/fluxgym/outputs/wojo/dataset.toml" \
28
+ --output_dir "/app/fluxgym/outputs/wojo" \
29
+ --output_name wojo \
30
+ --timestep_sampling shift \
31
+ --discrete_flow_shift 3.1582 \
32
+ --model_prediction_type raw \
33
+ --guidance_scale 1 \
34
+ --loss_type l2 \
wojo-000004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:33a738fe222de438655947229335dbc8c06d8c42a01ab1485ac4d8929584c760
3
+ size 39763504
wojo-000008.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c71bff1f5fc00f2bbe1f45cac4ae4443a447e8bccf58dcc9731eaaf818e0bd00
3
+ size 39763504
wojo-000012.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b884b9660a6ce4d810bc8e5bff41809630a87efbde78e5c894d2c9c7131ec7c
3
+ size 39763504
wojo.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d6ad54588041e18298de5db8c78dd49b7973b393fdaeba05f4852ba68aadb952
3
+ size 39763504