TheAwakenOne commited on
Commit
1e83baf
1 Parent(s): 40c6df2

Upload folder using huggingface_hub

Browse files
Files changed (44) hide show
  1. README.md +51 -0
  2. dataset.toml +14 -0
  3. max-headroom-000004.safetensors +3 -0
  4. max-headroom-000008.safetensors +3 -0
  5. max-headroom-000012.safetensors +3 -0
  6. max-headroom.safetensors +3 -0
  7. sample/max-headroom_000100_00_20241015203613.png +0 -0
  8. sample/max-headroom_000100_01_20241015203824.png +0 -0
  9. sample/max-headroom_000100_02_20241015204037.png +0 -0
  10. sample/max-headroom_000100_03_20241015204251.png +0 -0
  11. sample/max-headroom_000200_00_20241015210029.png +0 -0
  12. sample/max-headroom_000200_01_20241015210240.png +0 -0
  13. sample/max-headroom_000200_02_20241015210451.png +0 -0
  14. sample/max-headroom_000200_03_20241015210702.png +0 -0
  15. sample/max-headroom_000300_00_20241015212435.png +0 -0
  16. sample/max-headroom_000300_01_20241015212646.png +0 -0
  17. sample/max-headroom_000300_02_20241015212856.png +0 -0
  18. sample/max-headroom_000300_03_20241015213106.png +0 -0
  19. sample/max-headroom_000400_00_20241015214834.png +0 -0
  20. sample/max-headroom_000400_01_20241015215045.png +0 -0
  21. sample/max-headroom_000400_02_20241015215254.png +0 -0
  22. sample/max-headroom_000400_03_20241015215504.png +0 -0
  23. sample/max-headroom_000500_00_20241015221229.png +0 -0
  24. sample/max-headroom_000500_01_20241015221438.png +0 -0
  25. sample/max-headroom_000500_02_20241015221648.png +0 -0
  26. sample/max-headroom_000500_03_20241015221858.png +0 -0
  27. sample/max-headroom_000600_00_20241015223628.png +0 -0
  28. sample/max-headroom_000600_01_20241015223838.png +0 -0
  29. sample/max-headroom_000600_02_20241015224050.png +0 -0
  30. sample/max-headroom_000600_03_20241015224301.png +0 -0
  31. sample/max-headroom_000700_00_20241015230055.png +0 -0
  32. sample/max-headroom_000700_01_20241015230306.png +0 -0
  33. sample/max-headroom_000700_02_20241015230517.png +0 -0
  34. sample/max-headroom_000700_03_20241015230728.png +0 -0
  35. sample/max-headroom_000800_00_20241015232506.png +0 -0
  36. sample/max-headroom_000800_01_20241015232718.png +0 -0
  37. sample/max-headroom_000800_02_20241015232931.png +0 -0
  38. sample/max-headroom_000800_03_20241015233143.png +0 -0
  39. sample/max-headroom_000900_00_20241015234926.png +0 -0
  40. sample/max-headroom_000900_01_20241015235139.png +0 -0
  41. sample/max-headroom_000900_02_20241015235352.png +0 -0
  42. sample/max-headroom_000900_03_20241015235606.png +0 -0
  43. sample_prompts.txt +4 -0
  44. train.bat +39 -0
README.md ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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/max-headroom_000900_00_20241015234926.png
12
+ text: M2X a stylized retro Albert Einstein with dark sunglasses, wearing a green
13
+ suit, set against a neon background. He has a confident and cheerful expression,
14
+ suggesting charisma and charm in a retro-futuristic 80's aesthetic
15
+ - output:
16
+ url: sample/max-headroom_000900_01_20241015235139.png
17
+ text: M2X a close-up of a retro John wick character with slicked-back hair and
18
+ a confident smile. He is set against a background of dynamic, colorful neon
19
+ lines, emphasizing his bold and charismatic presence in a retro-80s vibe
20
+ - output:
21
+ url: sample/max-headroom_000900_02_20241015235352.png
22
+ text: M2X retro animated character Ronald McDonald appears on a vintage television
23
+ screen, wearing dark sunglasses and a shiny brown suit. The background features
24
+ vibrant red and blue neon diagonal stripes, enhancing the retro-vibe
25
+ - output:
26
+ url: sample/max-headroom_000900_03_20241015235606.png
27
+ text: M2X a stylized, retro animated character with slicked-back long hair and
28
+ oversized sunglasses, wearing a blue suit and red bow tie. He stands in front
29
+ of a neon background, with an exaggeratedly enthusiastic expression, shouting
30
+ "AWKN!". The design captures a vibrant 80s aesthetic
31
+ base_model: black-forest-labs/FLUX.1-dev
32
+ instance_prompt: M2X
33
+ license: other
34
+ license_name: flux-1-dev-non-commercial-license
35
+ license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
36
+ ---
37
+
38
+ # Max-Headroom
39
+
40
+ A Flux LoRA trained on a local computer with [Fluxgym](https://github.com/cocktailpeanut/fluxgym)
41
+
42
+ <Gallery />
43
+
44
+ ## Trigger words
45
+
46
+ You should use `M2X` to trigger the image generation.
47
+
48
+ ## Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, Forge, etc.
49
+
50
+ Weights for this model are available in Safetensors format.
51
+
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\max-headroom'
13
+ class_tokens = 'M2X'
14
+ num_repeats = 10
max-headroom-000004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:913379044544e6433590fb8b25019fa88901f30c10205cb3a61a7096cf52ff72
3
+ size 18212164
max-headroom-000008.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9f55b9b77b31b029c58c8af29343d4d59f67bc3bd1c0268e751d0169d2588601
3
+ size 18212164
max-headroom-000012.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:38741ade4a5bce8b3558842b0f60618bd93851e2dfa4eef86db7887dd21abeaf
3
+ size 18212164
max-headroom.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d1032d110cf600070e1b724e4267993ec8556f034570e990ae936d95b153cb63
3
+ size 18212164
sample/max-headroom_000100_00_20241015203613.png ADDED
sample/max-headroom_000100_01_20241015203824.png ADDED
sample/max-headroom_000100_02_20241015204037.png ADDED
sample/max-headroom_000100_03_20241015204251.png ADDED
sample/max-headroom_000200_00_20241015210029.png ADDED
sample/max-headroom_000200_01_20241015210240.png ADDED
sample/max-headroom_000200_02_20241015210451.png ADDED
sample/max-headroom_000200_03_20241015210702.png ADDED
sample/max-headroom_000300_00_20241015212435.png ADDED
sample/max-headroom_000300_01_20241015212646.png ADDED
sample/max-headroom_000300_02_20241015212856.png ADDED
sample/max-headroom_000300_03_20241015213106.png ADDED
sample/max-headroom_000400_00_20241015214834.png ADDED
sample/max-headroom_000400_01_20241015215045.png ADDED
sample/max-headroom_000400_02_20241015215254.png ADDED
sample/max-headroom_000400_03_20241015215504.png ADDED
sample/max-headroom_000500_00_20241015221229.png ADDED
sample/max-headroom_000500_01_20241015221438.png ADDED
sample/max-headroom_000500_02_20241015221648.png ADDED
sample/max-headroom_000500_03_20241015221858.png ADDED
sample/max-headroom_000600_00_20241015223628.png ADDED
sample/max-headroom_000600_01_20241015223838.png ADDED
sample/max-headroom_000600_02_20241015224050.png ADDED
sample/max-headroom_000600_03_20241015224301.png ADDED
sample/max-headroom_000700_00_20241015230055.png ADDED
sample/max-headroom_000700_01_20241015230306.png ADDED
sample/max-headroom_000700_02_20241015230517.png ADDED
sample/max-headroom_000700_03_20241015230728.png ADDED
sample/max-headroom_000800_00_20241015232506.png ADDED
sample/max-headroom_000800_01_20241015232718.png ADDED
sample/max-headroom_000800_02_20241015232931.png ADDED
sample/max-headroom_000800_03_20241015233143.png ADDED
sample/max-headroom_000900_00_20241015234926.png ADDED
sample/max-headroom_000900_01_20241015235139.png ADDED
sample/max-headroom_000900_02_20241015235352.png ADDED
sample/max-headroom_000900_03_20241015235606.png ADDED
sample_prompts.txt ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ M2X a stylized retro Albert Einstein with dark sunglasses, wearing a green suit, set against a neon background. He has a confident and cheerful expression, suggesting charisma and charm in a retro-futuristic 80's aesthetic
2
+ M2X a close-up of a retro John wick character with slicked-back hair and a confident smile. He is set against a background of dynamic, colorful neon lines, emphasizing his bold and charismatic presence in a retro-80s vibe
3
+ M2X retro animated character Ronald McDonald appears on a vintage television screen, wearing dark sunglasses and a shiny brown suit. The background features vibrant red and blue neon diagonal stripes, enhancing the retro-vibe
4
+ M2X a stylized, retro animated character with slicked-back long hair and oversized sunglasses, wearing a blue suit and red bow tie. He stands in front of a neon background, with an exaggeratedly enthusiastic expression, shouting "AWKN!". The design captures a vibrant 80s aesthetic
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\max-headroom\sample_prompts.txt" --sample_every_n_steps="100" ^
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\max-headroom\dataset.toml" ^
33
+ --output_dir "E:\AIOne\pinokio\api\fluxgym.git\outputs\max-headroom" ^
34
+ --output_name max-headroom ^
35
+ --timestep_sampling shift ^
36
+ --discrete_flow_shift 3.1582 ^
37
+ --model_prediction_type raw ^
38
+ --guidance_scale 1 ^
39
+ --loss_type l2 ^