TheAwakenOne commited on
Commit
cd23996
1 Parent(s): 791c316

Upload folder using huggingface_hub

Browse files
Files changed (35) hide show
  1. README.md +42 -0
  2. dataset.toml +14 -0
  3. ldlaughingmemeface-000004.safetensors +3 -0
  4. ldlaughingmemeface-000008.safetensors +3 -0
  5. ldlaughingmemeface-000012.safetensors +3 -0
  6. ldlaughingmemeface.safetensors +3 -0
  7. sample/ldlaughingmemeface_000050_00_20241001203428.png +0 -0
  8. sample/ldlaughingmemeface_000050_01_20241001203650.png +0 -0
  9. sample/ldlaughingmemeface_000050_02_20241001203908.png +0 -0
  10. sample/ldlaughingmemeface_000100_00_20241001204932.png +0 -0
  11. sample/ldlaughingmemeface_000100_01_20241001205150.png +0 -0
  12. sample/ldlaughingmemeface_000100_02_20241001205408.png +0 -0
  13. sample/ldlaughingmemeface_000150_00_20241001210427.png +0 -0
  14. sample/ldlaughingmemeface_000150_01_20241001210645.png +0 -0
  15. sample/ldlaughingmemeface_000150_02_20241001210906.png +0 -0
  16. sample/ldlaughingmemeface_000200_00_20241001211933.png +0 -0
  17. sample/ldlaughingmemeface_000200_01_20241001212152.png +0 -0
  18. sample/ldlaughingmemeface_000200_02_20241001212410.png +0 -0
  19. sample/ldlaughingmemeface_000250_00_20241001213434.png +0 -0
  20. sample/ldlaughingmemeface_000250_01_20241001213654.png +0 -0
  21. sample/ldlaughingmemeface_000250_02_20241001213914.png +0 -0
  22. sample/ldlaughingmemeface_000300_00_20241001214938.png +0 -0
  23. sample/ldlaughingmemeface_000300_01_20241001215156.png +0 -0
  24. sample/ldlaughingmemeface_000300_02_20241001215412.png +0 -0
  25. sample/ldlaughingmemeface_000350_00_20241001220431.png +0 -0
  26. sample/ldlaughingmemeface_000350_01_20241001220649.png +0 -0
  27. sample/ldlaughingmemeface_000350_02_20241001220909.png +0 -0
  28. sample/ldlaughingmemeface_000400_00_20241001221930.png +0 -0
  29. sample/ldlaughingmemeface_000400_01_20241001222149.png +0 -0
  30. sample/ldlaughingmemeface_000400_02_20241001222409.png +0 -0
  31. sample/ldlaughingmemeface_000450_00_20241001223402.png +0 -0
  32. sample/ldlaughingmemeface_000450_01_20241001223612.png +0 -0
  33. sample/ldlaughingmemeface_000450_02_20241001223822.png +0 -0
  34. sample_prompts.txt +3 -0
  35. train.bat +39 -0
README.md ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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/ldlaughingmemeface_000450_00_20241001223402.png
12
+ text: LDME Young adult male at a party, mid-laugh with eyebrows raised in mock
13
+ surprise. He's holding a red solo cup and wearing a graphic t-shirt
14
+ - output:
15
+ url: sample/ldlaughingmemeface_000450_01_20241001223612.png
16
+ text: LDME Close-up of a smirking businessman with arched eyebrows, squinting
17
+ eyes, and a slightly open mouth. He's holding a coffee mug in an office setting
18
+ - output:
19
+ url: sample/ldlaughingmemeface_000450_02_20241001223822.png
20
+ text: LDME middle-aged woman in a casual shirt, raising his eyebrows skeptically
21
+ while holding a martini
22
+ base_model: black-forest-labs/FLUX.1-dev
23
+ instance_prompt: LDME
24
+ license: other
25
+ license_name: flux-1-dev-non-commercial-license
26
+ license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
27
+ ---
28
+
29
+ # LDLaughingMemeFace
30
+
31
+ A Flux LoRA trained on a local computer with [Fluxgym](https://github.com/cocktailpeanut/fluxgym)
32
+
33
+ <Gallery />
34
+
35
+ ## Trigger words
36
+
37
+ You should use `LDME` to trigger the image generation.
38
+
39
+ ## Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, Forge, etc.
40
+
41
+ Weights for this model are available in Safetensors format.
42
+
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 = 'E:\AIOne\pinokio\api\fluxgym.git\datasets\ldlaughingmemeface'
13
+ class_tokens = 'LDME'
14
+ num_repeats = 10
ldlaughingmemeface-000004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2a378c22f98373391e5e58695d5643841b316909f4333d09653fc2fbf297a07a
3
+ size 18211436
ldlaughingmemeface-000008.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:957a75063cffa23de259940570c4aff4b3950d02927413668a1421b9543acb98
3
+ size 18211436
ldlaughingmemeface-000012.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b1532850f41d55e2592f0c1a963876c2a85bb56577345767f10bc53774a66400
3
+ size 18211436
ldlaughingmemeface.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eff11b8ecdbd15951722169cfdbb20ad23aa97bd23849599960aec7f99efb64c
3
+ size 18211436
sample/ldlaughingmemeface_000050_00_20241001203428.png ADDED
sample/ldlaughingmemeface_000050_01_20241001203650.png ADDED
sample/ldlaughingmemeface_000050_02_20241001203908.png ADDED
sample/ldlaughingmemeface_000100_00_20241001204932.png ADDED
sample/ldlaughingmemeface_000100_01_20241001205150.png ADDED
sample/ldlaughingmemeface_000100_02_20241001205408.png ADDED
sample/ldlaughingmemeface_000150_00_20241001210427.png ADDED
sample/ldlaughingmemeface_000150_01_20241001210645.png ADDED
sample/ldlaughingmemeface_000150_02_20241001210906.png ADDED
sample/ldlaughingmemeface_000200_00_20241001211933.png ADDED
sample/ldlaughingmemeface_000200_01_20241001212152.png ADDED
sample/ldlaughingmemeface_000200_02_20241001212410.png ADDED
sample/ldlaughingmemeface_000250_00_20241001213434.png ADDED
sample/ldlaughingmemeface_000250_01_20241001213654.png ADDED
sample/ldlaughingmemeface_000250_02_20241001213914.png ADDED
sample/ldlaughingmemeface_000300_00_20241001214938.png ADDED
sample/ldlaughingmemeface_000300_01_20241001215156.png ADDED
sample/ldlaughingmemeface_000300_02_20241001215412.png ADDED
sample/ldlaughingmemeface_000350_00_20241001220431.png ADDED
sample/ldlaughingmemeface_000350_01_20241001220649.png ADDED
sample/ldlaughingmemeface_000350_02_20241001220909.png ADDED
sample/ldlaughingmemeface_000400_00_20241001221930.png ADDED
sample/ldlaughingmemeface_000400_01_20241001222149.png ADDED
sample/ldlaughingmemeface_000400_02_20241001222409.png ADDED
sample/ldlaughingmemeface_000450_00_20241001223402.png ADDED
sample/ldlaughingmemeface_000450_01_20241001223612.png ADDED
sample/ldlaughingmemeface_000450_02_20241001223822.png ADDED
sample_prompts.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ LDME Young adult male at a party, mid-laugh with eyebrows raised in mock surprise. He's holding a red solo cup and wearing a graphic t-shirt
2
+ LDME Close-up of a smirking businessman with arched eyebrows, squinting eyes, and a slightly open mouth. He's holding a coffee mug in an office setting
3
+ LDME middle-aged woman in a casual shirt, raising his eyebrows skeptically while holding a martini
train.bat ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 "E:\AIOne\pinokio\api\fluxgym.git\models\unet\bdsqlsz\flux1-dev2pro-single\flux1-dev2pro.safetensors" ^
6
+ --clip_l "E:\AIOne\pinokio\api\fluxgym.git\models\clip\clip_l.safetensors" ^
7
+ --t5xxl "E:\AIOne\pinokio\api\fluxgym.git\models\clip\t5xxl_fp16.safetensors" ^
8
+ --ae "E:\AIOne\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
+ --split_mode ^
22
+ --network_args "train_blocks=single" ^
23
+ --lr_scheduler constant_with_warmup ^
24
+ --max_grad_norm 0.0 ^--sample_prompts="E:\AIOne\pinokio\api\fluxgym.git\outputs\ldlaughingmemeface\sample_prompts.txt" --sample_every_n_steps="50" ^
25
+ --learning_rate 8e-4 ^
26
+ --cache_text_encoder_outputs ^
27
+ --cache_text_encoder_outputs_to_disk ^
28
+ --fp8_base ^
29
+ --highvram ^
30
+ --max_train_epochs 16 ^
31
+ --save_every_n_epochs 4 ^
32
+ --dataset_config "E:\AIOne\pinokio\api\fluxgym.git\outputs\ldlaughingmemeface\dataset.toml" ^
33
+ --output_dir "E:\AIOne\pinokio\api\fluxgym.git\outputs\ldlaughingmemeface" ^
34
+ --output_name ldlaughingmemeface ^
35
+ --timestep_sampling shift ^
36
+ --discrete_flow_shift 3.1582 ^
37
+ --model_prediction_type raw ^
38
+ --guidance_scale 1 ^
39
+ --loss_type l2 ^