l3xx commited on
Commit
5034009
1 Parent(s): bd3921a

Upload folder using huggingface_hub

Browse files
Files changed (37) hide show
  1. README.md +40 -0
  2. dataset.toml +14 -0
  3. sample/sp0ngeb0zz_000200_00_20240930214749_42.png +0 -0
  4. sample/sp0ngeb0zz_000200_01_20240930214810_42.png +0 -0
  5. sample/sp0ngeb0zz_000200_02_20240930214822_42.png +0 -0
  6. sample/sp0ngeb0zz_000400_00_20240930215624_42.png +0 -0
  7. sample/sp0ngeb0zz_000400_01_20240930215656_42.png +0 -0
  8. sample/sp0ngeb0zz_000400_02_20240930215816_42.png +0 -0
  9. sample/sp0ngeb0zz_000600_00_20240930220755_42.png +0 -0
  10. sample/sp0ngeb0zz_000600_01_20240930220805_42.png +0 -0
  11. sample/sp0ngeb0zz_000600_02_20240930220820_42.png +0 -0
  12. sample/sp0ngeb0zz_000800_00_20240930221452_42.png +0 -0
  13. sample/sp0ngeb0zz_000800_01_20240930221504_42.png +0 -0
  14. sample/sp0ngeb0zz_000800_02_20240930221521_42.png +0 -0
  15. sample/sp0ngeb0zz_001000_00_20240930222231_42.png +0 -0
  16. sample/sp0ngeb0zz_001000_01_20240930222244_42.png +0 -0
  17. sample/sp0ngeb0zz_001000_02_20240930222256_42.png +0 -0
  18. sample/sp0ngeb0zz_001200_00_20240930223004_42.png +0 -0
  19. sample/sp0ngeb0zz_001200_01_20240930223016_42.png +0 -0
  20. sample/sp0ngeb0zz_001200_02_20240930223029_42.png +0 -0
  21. sample/sp0ngeb0zz_001400_00_20240930223856_42.png +0 -0
  22. sample/sp0ngeb0zz_001400_01_20240930223921_42.png +0 -0
  23. sample/sp0ngeb0zz_001400_02_20240930223947_42.png +0 -0
  24. sample/sp0ngeb0zz_001600_00_20240930224714_42.png +0 -0
  25. sample/sp0ngeb0zz_001600_01_20240930224725_42.png +0 -0
  26. sample/sp0ngeb0zz_001600_02_20240930224737_42.png +0 -0
  27. sample_prompts.txt +3 -0
  28. sp0ngeb0zz-000004.safetensors +3 -0
  29. sp0ngeb0zz-000008.safetensors +3 -0
  30. sp0ngeb0zz-000012.safetensors +3 -0
  31. sp0ngeb0zz-state/model.safetensors +3 -0
  32. sp0ngeb0zz-state/optimizer.bin +3 -0
  33. sp0ngeb0zz-state/random_states_0.pkl +3 -0
  34. sp0ngeb0zz-state/scheduler.bin +3 -0
  35. sp0ngeb0zz-state/train_state.json +1 -0
  36. sp0ngeb0zz.safetensors +3 -0
  37. train.bat +38 -0
README.md ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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/sp0ngeb0zz_000200_02_20240930214822_42.png
12
+ text: SP0NG3B0ZZ on a boat in the ocean --d 42
13
+ - output:
14
+ url: sample/sp0ngeb0zz_000400_02_20240930215816_42.png
15
+ text: SP0NG3B0ZZ standing next to a police car on a road surrounded by Cats --d
16
+ 42
17
+ - output:
18
+ url: sample/sp0ngeb0zz_000600_02_20240930220820_42.png
19
+ text: SP0NG3B0ZZ holding a sign saying "SPONGEBOZZ" --d 42
20
+ base_model: black-forest-labs/FLUX.1-dev
21
+ instance_prompt: SP0NG3B0ZZ
22
+ license: other
23
+ license_name: flux-1-dev-non-commercial-license
24
+ license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
25
+ ---
26
+
27
+ # SP0NGEB0ZZ
28
+
29
+ A Flux LoRA trained on a local computer with [Fluxgym](https://github.com/cocktailpeanut/fluxgym)
30
+
31
+ <Gallery />
32
+
33
+ ## Trigger words
34
+
35
+ You should use `SP0NG3B0ZZ` to trigger the image generation.
36
+
37
+ ## Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, Forge, etc.
38
+
39
+ Weights for this model are available in Safetensors format.
40
+
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 = 'C:\Users\micha\pinokio\api\fluxgym.git\datasets\sp0ngeb0zz'
13
+ class_tokens = 'SP0NG3B0ZZ'
14
+ num_repeats = 10
sample/sp0ngeb0zz_000200_00_20240930214749_42.png ADDED
sample/sp0ngeb0zz_000200_01_20240930214810_42.png ADDED
sample/sp0ngeb0zz_000200_02_20240930214822_42.png ADDED
sample/sp0ngeb0zz_000400_00_20240930215624_42.png ADDED
sample/sp0ngeb0zz_000400_01_20240930215656_42.png ADDED
sample/sp0ngeb0zz_000400_02_20240930215816_42.png ADDED
sample/sp0ngeb0zz_000600_00_20240930220755_42.png ADDED
sample/sp0ngeb0zz_000600_01_20240930220805_42.png ADDED
sample/sp0ngeb0zz_000600_02_20240930220820_42.png ADDED
sample/sp0ngeb0zz_000800_00_20240930221452_42.png ADDED
sample/sp0ngeb0zz_000800_01_20240930221504_42.png ADDED
sample/sp0ngeb0zz_000800_02_20240930221521_42.png ADDED
sample/sp0ngeb0zz_001000_00_20240930222231_42.png ADDED
sample/sp0ngeb0zz_001000_01_20240930222244_42.png ADDED
sample/sp0ngeb0zz_001000_02_20240930222256_42.png ADDED
sample/sp0ngeb0zz_001200_00_20240930223004_42.png ADDED
sample/sp0ngeb0zz_001200_01_20240930223016_42.png ADDED
sample/sp0ngeb0zz_001200_02_20240930223029_42.png ADDED
sample/sp0ngeb0zz_001400_00_20240930223856_42.png ADDED
sample/sp0ngeb0zz_001400_01_20240930223921_42.png ADDED
sample/sp0ngeb0zz_001400_02_20240930223947_42.png ADDED
sample/sp0ngeb0zz_001600_00_20240930224714_42.png ADDED
sample/sp0ngeb0zz_001600_01_20240930224725_42.png ADDED
sample/sp0ngeb0zz_001600_02_20240930224737_42.png ADDED
sample_prompts.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ SP0NG3B0ZZ on a boat in the ocean --d 42
2
+ SP0NG3B0ZZ standing next to a police car on a road surrounded by Cats --d 42
3
+ SP0NG3B0ZZ holding a sign saying "SPONGEBOZZ" --d 42
sp0ngeb0zz-000004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6306d6efbdb9c312b8f7ffae683b9d863ea27305f77542d97c1555b36b767d97
3
+ size 39759672
sp0ngeb0zz-000008.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:31823fb0f5382d34d6264ddc4d4dd1f0366e29c8afac977b2c1149a6f6f0daf6
3
+ size 39759672
sp0ngeb0zz-000012.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3fdfadc9ca67d10cc66b21126aa5e6e2bc1caa9b6db3b6f0d5d95c31ab55d34b
3
+ size 39759672
sp0ngeb0zz-state/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:70c9628a0b667fba7d179262bbfd0c889164374eea640a746851c91deb192e5f
3
+ size 79368944
sp0ngeb0zz-state/optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0c8814129ca573c968b2d797915a8c98b4937b5f111e9791c215daf35a332aa9
3
+ size 20447714
sp0ngeb0zz-state/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:95d1539494e538f4085bc4d6d02016e85dcb03ca0adf7845f10c34dd3fc1d8fa
3
+ size 14344
sp0ngeb0zz-state/scheduler.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0c651808f7a8f2b2c72d8c51370fffbbbe39abf94d046cf9fa6c0de08e207072
3
+ size 1064
sp0ngeb0zz-state/train_state.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"current_epoch": 16, "current_step": 1600}
sp0ngeb0zz.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:75c0e69a312ef2e196279b1c383565cb4231b9345e2a661c42b171ea88bd6ec2
3
+ size 39759672
train.bat ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 "C:\Users\micha\pinokio\api\fluxgym.git\models\unet\bdsqlsz\flux1-dev2pro-single\flux1-dev2pro.safetensors" ^
6
+ --clip_l "C:\Users\micha\pinokio\api\fluxgym.git\models\clip\clip_l.safetensors" ^
7
+ --t5xxl "C:\Users\micha\pinokio\api\fluxgym.git\models\clip\t5xxl_fp16.safetensors" ^
8
+ --ae "C:\Users\micha\pinokio\api\fluxgym.git\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 adafactor ^
20
+ --optimizer_args "relative_step=False" "scale_parameter=False" "warmup_init=False" ^
21
+ --lr_scheduler constant_with_warmup ^
22
+ --max_grad_norm 0.0 ^--sample_prompts="C:\Users\micha\pinokio\api\fluxgym.git\outputs\sp0ngeb0zz\sample_prompts.txt" --sample_every_n_steps="200" ^
23
+ --learning_rate 8e-4 ^
24
+ --cache_text_encoder_outputs ^
25
+ --cache_text_encoder_outputs_to_disk ^
26
+ --fp8_base ^
27
+ --highvram ^
28
+ --max_train_epochs 16 ^
29
+ --save_every_n_epochs 4 ^
30
+ --dataset_config "C:\Users\micha\pinokio\api\fluxgym.git\outputs\sp0ngeb0zz\dataset.toml" ^
31
+ --output_dir "C:\Users\micha\pinokio\api\fluxgym.git\outputs\sp0ngeb0zz" ^
32
+ --output_name sp0ngeb0zz ^
33
+ --timestep_sampling shift ^
34
+ --discrete_flow_shift 3.1582 ^
35
+ --model_prediction_type raw ^
36
+ --guidance_scale 1 ^
37
+ --loss_type l2 ^
38
+ --save_state_on_train_end