l3xx commited on
Commit
1d98b29
1 Parent(s): ec8dbf9

Upload folder using huggingface_hub

Browse files
Files changed (37) hide show
  1. README.md +39 -0
  2. dataset.toml +14 -0
  3. pinkcowshirt-000004.safetensors +3 -0
  4. pinkcowshirt-000008.safetensors +3 -0
  5. pinkcowshirt.safetensors +3 -0
  6. sample/pinkcowshirt_000100_00_20241020022537_42.png +0 -0
  7. sample/pinkcowshirt_000100_01_20241020022551.png +0 -0
  8. sample/pinkcowshirt_000100_02_20241020022607.png +0 -0
  9. sample/pinkcowshirt_000200_00_20241020022925_42.png +0 -0
  10. sample/pinkcowshirt_000200_01_20241020022937.png +0 -0
  11. sample/pinkcowshirt_000200_02_20241020022950.png +0 -0
  12. sample/pinkcowshirt_000300_00_20241020023320_42.png +0 -0
  13. sample/pinkcowshirt_000300_01_20241020023339.png +0 -0
  14. sample/pinkcowshirt_000300_02_20241020023358.png +0 -0
  15. sample/pinkcowshirt_000400_00_20241020023722_42.png +0 -0
  16. sample/pinkcowshirt_000400_01_20241020023736.png +0 -0
  17. sample/pinkcowshirt_000400_02_20241020023749.png +0 -0
  18. sample/pinkcowshirt_000500_00_20241020024112_42.png +0 -0
  19. sample/pinkcowshirt_000500_01_20241020024136.png +0 -0
  20. sample/pinkcowshirt_000500_02_20241020024213.png +0 -0
  21. sample/pinkcowshirt_000600_00_20241020024535_42.png +0 -0
  22. sample/pinkcowshirt_000600_01_20241020024547.png +0 -0
  23. sample/pinkcowshirt_000600_02_20241020024558.png +0 -0
  24. sample/pinkcowshirt_000700_00_20241020024930_42.png +0 -0
  25. sample/pinkcowshirt_000700_01_20241020024941.png +0 -0
  26. sample/pinkcowshirt_000700_02_20241020025112.png +0 -0
  27. sample/pinkcowshirt_000800_00_20241020025506_42.png +0 -0
  28. sample/pinkcowshirt_000800_01_20241020025521.png +0 -0
  29. sample/pinkcowshirt_000800_02_20241020025643.png +0 -0
  30. sample/pinkcowshirt_000900_00_20241020030055_42.png +0 -0
  31. sample/pinkcowshirt_000900_01_20241020030129.png +0 -0
  32. sample/pinkcowshirt_000900_02_20241020030138.png +0 -0
  33. sample/pinkcowshirt_001000_00_20241020030430_42.png +0 -0
  34. sample/pinkcowshirt_001000_01_20241020030442.png +0 -0
  35. sample/pinkcowshirt_001000_02_20241020030627.png +0 -0
  36. sample_prompts.txt +3 -0
  37. train.bat +37 -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/pinkcowshirt_001000_01_20241020030442.png
12
+ text: Woman wearing C0wsh1rt --d 42
13
+ - output:
14
+ url: sample/pinkcowshirt_000900_01_20241020030129.png
15
+ text: Woman wearing C0wsh1rt infront a cow on a footballfield--d 42
16
+ - output:
17
+ url: sample/pinkcowshirt_001000_02_20241020030627.png
18
+ text: Woman wearing C0wsh1rt infront a cow on a footballfield--d 42
19
+ base_model: black-forest-labs/FLUX.1-dev
20
+ instance_prompt: C0wsh1rt
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
+ # pinkcowshirt
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 `C0wsh1rt` 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 = 512
8
+ batch_size = 1
9
+ keep_tokens = 1
10
+
11
+ [[datasets.subsets]]
12
+ image_dir = 'C:\Users\micha\pinokio\api\fluxgym.git\datasets\pinkcowshirt'
13
+ class_tokens = 'C0wsh1rt'
14
+ num_repeats = 10
pinkcowshirt-000004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:01659e5cf0367865b75d15cd7eb67bd106c8ad6f51ed963ef168e665cbffd205
3
+ size 39758136
pinkcowshirt-000008.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1ff4a227ee0a51529a75aff91cac2dcb0c3c066e48b67a6a4b818261bdc1ad4b
3
+ size 39758136
pinkcowshirt.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:35434ec4f6e1ca2d1acf57410240efb5c3aecb9480e79bc2e42398c679372b6c
3
+ size 39758144
sample/pinkcowshirt_000100_00_20241020022537_42.png ADDED
sample/pinkcowshirt_000100_01_20241020022551.png ADDED
sample/pinkcowshirt_000100_02_20241020022607.png ADDED
sample/pinkcowshirt_000200_00_20241020022925_42.png ADDED
sample/pinkcowshirt_000200_01_20241020022937.png ADDED
sample/pinkcowshirt_000200_02_20241020022950.png ADDED
sample/pinkcowshirt_000300_00_20241020023320_42.png ADDED
sample/pinkcowshirt_000300_01_20241020023339.png ADDED
sample/pinkcowshirt_000300_02_20241020023358.png ADDED
sample/pinkcowshirt_000400_00_20241020023722_42.png ADDED
sample/pinkcowshirt_000400_01_20241020023736.png ADDED
sample/pinkcowshirt_000400_02_20241020023749.png ADDED
sample/pinkcowshirt_000500_00_20241020024112_42.png ADDED
sample/pinkcowshirt_000500_01_20241020024136.png ADDED
sample/pinkcowshirt_000500_02_20241020024213.png ADDED
sample/pinkcowshirt_000600_00_20241020024535_42.png ADDED
sample/pinkcowshirt_000600_01_20241020024547.png ADDED
sample/pinkcowshirt_000600_02_20241020024558.png ADDED
sample/pinkcowshirt_000700_00_20241020024930_42.png ADDED
sample/pinkcowshirt_000700_01_20241020024941.png ADDED
sample/pinkcowshirt_000700_02_20241020025112.png ADDED
sample/pinkcowshirt_000800_00_20241020025506_42.png ADDED
sample/pinkcowshirt_000800_01_20241020025521.png ADDED
sample/pinkcowshirt_000800_02_20241020025643.png ADDED
sample/pinkcowshirt_000900_00_20241020030055_42.png ADDED
sample/pinkcowshirt_000900_01_20241020030129.png ADDED
sample/pinkcowshirt_000900_02_20241020030138.png ADDED
sample/pinkcowshirt_001000_00_20241020030430_42.png ADDED
sample/pinkcowshirt_001000_01_20241020030442.png ADDED
sample/pinkcowshirt_001000_02_20241020030627.png ADDED
sample_prompts.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ Woman wearing C0wsh1rt --d 42
2
+ Woman wearing C0wsh1rt infront a cow on a footballfield--d 42
3
+ Woman wearing C0wsh1rt infront a cow on a footballfield--d 42
train.bat ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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\flux1-dev.sft" ^
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\pinkcowshirt\sample_prompts.txt" --sample_every_n_steps="100" ^
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 10 ^
29
+ --save_every_n_epochs 4 ^
30
+ --dataset_config "C:\Users\micha\pinokio\api\fluxgym.git\outputs\pinkcowshirt\dataset.toml" ^
31
+ --output_dir "C:\Users\micha\pinokio\api\fluxgym.git\outputs\pinkcowshirt" ^
32
+ --output_name pinkcowshirt ^
33
+ --timestep_sampling shift ^
34
+ --discrete_flow_shift 3.1582 ^
35
+ --model_prediction_type raw ^
36
+ --guidance_scale 1 ^
37
+ --loss_type l2 ^