VHKE commited on
Commit
bf2bfb5
1 Parent(s): 39f1520

Upload folder using huggingface_hub

Browse files
Files changed (35) hide show
  1. README.md +39 -0
  2. bunny-000004.safetensors +3 -0
  3. bunny-000008.safetensors +3 -0
  4. bunny-000012.safetensors +3 -0
  5. bunny.safetensors +3 -0
  6. dataset.toml +14 -0
  7. sample/bunny_000500_00_20241211120709_45.png +0 -0
  8. sample/bunny_000500_01_20241211120715_45.png +0 -0
  9. sample/bunny_000500_02_20241211120722_45.png +0 -0
  10. sample/bunny_001000_00_20241211122100_45.png +0 -0
  11. sample/bunny_001000_01_20241211122107_45.png +0 -0
  12. sample/bunny_001000_02_20241211122113_45.png +0 -0
  13. sample/bunny_001500_00_20241211123452_45.png +0 -0
  14. sample/bunny_001500_01_20241211123458_45.png +0 -0
  15. sample/bunny_001500_02_20241211123505_45.png +0 -0
  16. sample/bunny_002000_00_20241211124749_45.png +0 -0
  17. sample/bunny_002000_01_20241211124755_45.png +0 -0
  18. sample/bunny_002000_02_20241211124802_45.png +0 -0
  19. sample/bunny_002500_00_20241211130051_45.png +0 -0
  20. sample/bunny_002500_01_20241211130057_45.png +0 -0
  21. sample/bunny_002500_02_20241211130104_45.png +0 -0
  22. sample/bunny_003000_00_20241211131350_45.png +0 -0
  23. sample/bunny_003000_01_20241211131357_45.png +0 -0
  24. sample/bunny_003000_02_20241211131403_45.png +0 -0
  25. sample/bunny_003500_00_20241211132653_45.png +0 -0
  26. sample/bunny_003500_01_20241211132659_45.png +0 -0
  27. sample/bunny_003500_02_20241211132706_45.png +0 -0
  28. sample/bunny_004000_00_20241211133948_45.png +0 -0
  29. sample/bunny_004000_01_20241211133955_45.png +0 -0
  30. sample/bunny_004000_02_20241211134001_45.png +0 -0
  31. sample/bunny_004500_00_20241211135239_45.png +0 -0
  32. sample/bunny_004500_01_20241211135246_45.png +0 -0
  33. sample/bunny_004500_02_20241211135252_45.png +0 -0
  34. sample_prompts.txt +3 -0
  35. train.bat +34 -0
README.md ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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/bunny_000500_02_20241211120722_45.png
12
+ text: bunny teddy bear sitting on a couch --d 45
13
+ - output:
14
+ url: sample/bunny_001000_02_20241211122113_45.png
15
+ text: bunny teddy bear sitting on a desk --d 45
16
+ - output:
17
+ url: sample/bunny_001500_02_20241211123505_45.png
18
+ text: bunny teddy bear held by a child inside an elevator --d 45
19
+ base_model: black-forest-labs/FLUX.1-dev
20
+ instance_prompt: bunny
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
+ # bunny
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 `bunny` 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
+
bunny-000004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c2a29b1b69d571ff46732b0d4c4c082b67afbbc37921d3b7b4a786b5882532a6
3
+ size 39764728
bunny-000008.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:63137ad460c99886be0e8b89febc41e663b531148fa471e906b3a02adc88b6c9
3
+ size 39764728
bunny-000012.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2a8c4747e87936c8920393c125e7a56b0dd42eae3ae1715716a78be1c899c4ea
3
+ size 39764728
bunny.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:371617cb6daf75d14e3c4d5450f2e043b7efad4442dae1cd3e73c1fe8680b285
3
+ size 39764728
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\marko\Downloads\FLUXGYM\fluxgym\datasets\bunny'
13
+ class_tokens = 'bunny'
14
+ num_repeats = 10
sample/bunny_000500_00_20241211120709_45.png ADDED
sample/bunny_000500_01_20241211120715_45.png ADDED
sample/bunny_000500_02_20241211120722_45.png ADDED
sample/bunny_001000_00_20241211122100_45.png ADDED
sample/bunny_001000_01_20241211122107_45.png ADDED
sample/bunny_001000_02_20241211122113_45.png ADDED
sample/bunny_001500_00_20241211123452_45.png ADDED
sample/bunny_001500_01_20241211123458_45.png ADDED
sample/bunny_001500_02_20241211123505_45.png ADDED
sample/bunny_002000_00_20241211124749_45.png ADDED
sample/bunny_002000_01_20241211124755_45.png ADDED
sample/bunny_002000_02_20241211124802_45.png ADDED
sample/bunny_002500_00_20241211130051_45.png ADDED
sample/bunny_002500_01_20241211130057_45.png ADDED
sample/bunny_002500_02_20241211130104_45.png ADDED
sample/bunny_003000_00_20241211131350_45.png ADDED
sample/bunny_003000_01_20241211131357_45.png ADDED
sample/bunny_003000_02_20241211131403_45.png ADDED
sample/bunny_003500_00_20241211132653_45.png ADDED
sample/bunny_003500_01_20241211132659_45.png ADDED
sample/bunny_003500_02_20241211132706_45.png ADDED
sample/bunny_004000_00_20241211133948_45.png ADDED
sample/bunny_004000_01_20241211133955_45.png ADDED
sample/bunny_004000_02_20241211134001_45.png ADDED
sample/bunny_004500_00_20241211135239_45.png ADDED
sample/bunny_004500_01_20241211135246_45.png ADDED
sample/bunny_004500_02_20241211135252_45.png ADDED
sample_prompts.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ bunny teddy bear sitting on a couch --d 45
2
+ bunny teddy bear sitting on a desk --d 45
3
+ bunny teddy bear held by a child inside an elevator --d 45
train.bat 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 "C:\Users\marko\Downloads\FLUXGYM\fluxgym\models\unet\flux1-dev.sft" ^
6
+ --clip_l "C:\Users\marko\Downloads\FLUXGYM\fluxgym\models\clip\clip_l.safetensors" ^
7
+ --t5xxl "C:\Users\marko\Downloads\FLUXGYM\fluxgym\models\clip\t5xxl_fp16.safetensors" ^
8
+ --ae "C:\Users\marko\Downloads\FLUXGYM\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="C:\Users\marko\Downloads\FLUXGYM\fluxgym\outputs\bunny\sample_prompts.txt" --sample_every_n_steps="500" ^
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 "C:\Users\marko\Downloads\FLUXGYM\fluxgym\outputs\bunny\dataset.toml" ^
28
+ --output_dir "C:\Users\marko\Downloads\FLUXGYM\fluxgym\outputs\bunny" ^
29
+ --output_name bunny ^
30
+ --timestep_sampling shift ^
31
+ --discrete_flow_shift 3.1582 ^
32
+ --model_prediction_type raw ^
33
+ --guidance_scale 1 ^
34
+ --loss_type l2 ^