GenAIJake commited on
Commit
de69864
·
verified ·
1 Parent(s): 37f692e

Upload folder using huggingface_hub

Browse files
Files changed (50) hide show
  1. README.md +39 -0
  2. dataset.toml +14 -0
  3. sample/st3v3-man_000161_00_20241009222209.png +0 -0
  4. sample/st3v3-man_000161_01_20241009222244.png +0 -0
  5. sample/st3v3-man_000161_02_20241009222319.png +0 -0
  6. sample/st3v3-man_000322_00_20241009223955.png +0 -0
  7. sample/st3v3-man_000322_01_20241009224031.png +0 -0
  8. sample/st3v3-man_000322_02_20241009224107.png +0 -0
  9. sample/st3v3-man_000483_00_20241009230210.png +0 -0
  10. sample/st3v3-man_000483_01_20241009230243.png +0 -0
  11. sample/st3v3-man_000483_02_20241009230316.png +0 -0
  12. sample/st3v3-man_000644_00_20241009232336.png +0 -0
  13. sample/st3v3-man_000644_01_20241009232409.png +0 -0
  14. sample/st3v3-man_000644_02_20241009232442.png +0 -0
  15. sample/st3v3-man_000805_00_20241009234506.png +0 -0
  16. sample/st3v3-man_000805_01_20241009234540.png +0 -0
  17. sample/st3v3-man_000805_02_20241009234613.png +0 -0
  18. sample/st3v3-man_000966_00_20241010000757.png +0 -0
  19. sample/st3v3-man_000966_01_20241010000853.png +0 -0
  20. sample/st3v3-man_000966_02_20241010000949.png +0 -0
  21. sample/st3v3-man_001127_00_20241010003051.png +0 -0
  22. sample/st3v3-man_001127_01_20241010003124.png +0 -0
  23. sample/st3v3-man_001127_02_20241010003157.png +0 -0
  24. sample/st3v3-man_001288_00_20241010005256.png +0 -0
  25. sample/st3v3-man_001288_01_20241010005329.png +0 -0
  26. sample/st3v3-man_001288_02_20241010005403.png +0 -0
  27. sample/st3v3-man_001449_00_20241010011456.png +0 -0
  28. sample/st3v3-man_001449_01_20241010011529.png +0 -0
  29. sample/st3v3-man_001449_02_20241010011603.png +0 -0
  30. sample/st3v3-man_001610_00_20241010013633.png +0 -0
  31. sample/st3v3-man_001610_01_20241010013706.png +0 -0
  32. sample/st3v3-man_001610_02_20241010013739.png +0 -0
  33. sample/st3v3-man_001771_00_20241010015811.png +0 -0
  34. sample/st3v3-man_001771_01_20241010015844.png +0 -0
  35. sample/st3v3-man_001771_02_20241010015918.png +0 -0
  36. sample/st3v3-man_001932_00_20241010022032.png +0 -0
  37. sample/st3v3-man_001932_01_20241010022105.png +0 -0
  38. sample/st3v3-man_001932_02_20241010022138.png +0 -0
  39. sample/st3v3-man_002093_00_20241010024206.png +0 -0
  40. sample/st3v3-man_002093_01_20241010024240.png +0 -0
  41. sample/st3v3-man_002093_02_20241010024313.png +0 -0
  42. sample/st3v3-man_002254_00_20241010030349.png +0 -0
  43. sample/st3v3-man_002254_01_20241010030433.png +0 -0
  44. sample/st3v3-man_002254_02_20241010030529.png +0 -0
  45. sample_prompts.txt +3 -0
  46. st3v3-man-000004.safetensors +3 -0
  47. st3v3-man-000008.safetensors +3 -0
  48. st3v3-man-000012.safetensors +3 -0
  49. st3v3-man.safetensors +3 -0
  50. 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/st3v3-man_002254_00_20241010030349.png
12
+ text: St3v3 man in a suit
13
+ - output:
14
+ url: sample/st3v3-man_002254_01_20241010030433.png
15
+ text: St3v3 man close up swinging on the golf course
16
+ - output:
17
+ url: sample/st3v3-man_002254_02_20241010030529.png
18
+ text: St3v3 man in the gym
19
+ base_model: black-forest-labs/FLUX.1-dev
20
+ instance_prompt: St3v3 man
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
+ # St3v3 man
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 `St3v3 man` 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\sterl\pinokio\api\fluxgym.git\datasets\st3v3-man'
13
+ class_tokens = 'St3v3 man'
14
+ num_repeats = 10
sample/st3v3-man_000161_00_20241009222209.png ADDED
sample/st3v3-man_000161_01_20241009222244.png ADDED
sample/st3v3-man_000161_02_20241009222319.png ADDED
sample/st3v3-man_000322_00_20241009223955.png ADDED
sample/st3v3-man_000322_01_20241009224031.png ADDED
sample/st3v3-man_000322_02_20241009224107.png ADDED
sample/st3v3-man_000483_00_20241009230210.png ADDED
sample/st3v3-man_000483_01_20241009230243.png ADDED
sample/st3v3-man_000483_02_20241009230316.png ADDED
sample/st3v3-man_000644_00_20241009232336.png ADDED
sample/st3v3-man_000644_01_20241009232409.png ADDED
sample/st3v3-man_000644_02_20241009232442.png ADDED
sample/st3v3-man_000805_00_20241009234506.png ADDED
sample/st3v3-man_000805_01_20241009234540.png ADDED
sample/st3v3-man_000805_02_20241009234613.png ADDED
sample/st3v3-man_000966_00_20241010000757.png ADDED
sample/st3v3-man_000966_01_20241010000853.png ADDED
sample/st3v3-man_000966_02_20241010000949.png ADDED
sample/st3v3-man_001127_00_20241010003051.png ADDED
sample/st3v3-man_001127_01_20241010003124.png ADDED
sample/st3v3-man_001127_02_20241010003157.png ADDED
sample/st3v3-man_001288_00_20241010005256.png ADDED
sample/st3v3-man_001288_01_20241010005329.png ADDED
sample/st3v3-man_001288_02_20241010005403.png ADDED
sample/st3v3-man_001449_00_20241010011456.png ADDED
sample/st3v3-man_001449_01_20241010011529.png ADDED
sample/st3v3-man_001449_02_20241010011603.png ADDED
sample/st3v3-man_001610_00_20241010013633.png ADDED
sample/st3v3-man_001610_01_20241010013706.png ADDED
sample/st3v3-man_001610_02_20241010013739.png ADDED
sample/st3v3-man_001771_00_20241010015811.png ADDED
sample/st3v3-man_001771_01_20241010015844.png ADDED
sample/st3v3-man_001771_02_20241010015918.png ADDED
sample/st3v3-man_001932_00_20241010022032.png ADDED
sample/st3v3-man_001932_01_20241010022105.png ADDED
sample/st3v3-man_001932_02_20241010022138.png ADDED
sample/st3v3-man_002093_00_20241010024206.png ADDED
sample/st3v3-man_002093_01_20241010024240.png ADDED
sample/st3v3-man_002093_02_20241010024313.png ADDED
sample/st3v3-man_002254_00_20241010030349.png ADDED
sample/st3v3-man_002254_01_20241010030433.png ADDED
sample/st3v3-man_002254_02_20241010030529.png ADDED
sample_prompts.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ St3v3 man in a suit
2
+ St3v3 man close up swinging on the golf course
3
+ St3v3 man in the gym
st3v3-man-000004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:de438403982bd43bd477e59b593959dca8cf93fa2c9792585ad94c0a6c039637
3
+ size 39763864
st3v3-man-000008.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:59b4e0c1094fae12ebcb982ab1eb54cd8f383552532713cc441c7329a4416ed5
3
+ size 39763864
st3v3-man-000012.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bc3360ccc6107f060488f8acb320dc8517e7d23c21186d7ec5f85919f7cbe392
3
+ size 39763872
st3v3-man.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5ffe8fa3a01ccda88012f6617108642672bdd6e032df83316477aac29692fc74
3
+ size 39763872
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\sterl\pinokio\api\fluxgym.git\models\unet\flux1-dev.sft" ^
6
+ --clip_l "C:\Users\sterl\pinokio\api\fluxgym.git\models\clip\clip_l.safetensors" ^
7
+ --t5xxl "C:\Users\sterl\pinokio\api\fluxgym.git\models\clip\t5xxl_fp16.safetensors" ^
8
+ --ae "C:\Users\sterl\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\sterl\pinokio\api\fluxgym.git\outputs\st3v3-man\sample_prompts.txt" --sample_every_n_steps="161" ^
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\sterl\pinokio\api\fluxgym.git\outputs\st3v3-man\dataset.toml" ^
31
+ --output_dir "C:\Users\sterl\pinokio\api\fluxgym.git\outputs\st3v3-man" ^
32
+ --output_name st3v3-man ^
33
+ --timestep_sampling shift ^
34
+ --discrete_flow_shift 3.1582 ^
35
+ --model_prediction_type raw ^
36
+ --guidance_scale 1 ^
37
+ --loss_type l2 ^