cocktailpeanut commited on
Commit
89ead5a
1 Parent(s): 4e7f1a8

Upload folder using huggingface_hub

Browse files
Files changed (40) hide show
  1. README.md +42 -0
  2. dataset.toml +14 -0
  3. makima-000004.safetensors +3 -0
  4. makima-000008.safetensors +3 -0
  5. makima-000012.safetensors +3 -0
  6. makima.safetensors +3 -0
  7. sample/makima_000140_00_20240916074035.png +0 -0
  8. sample/makima_000140_01_20240916074052.png +0 -0
  9. sample/makima_000140_02_20240916074110.png +0 -0
  10. sample/makima_000140_03_20240916074128.png +0 -0
  11. sample/makima_000280_00_20240916074840.png +0 -0
  12. sample/makima_000280_01_20240916074857.png +0 -0
  13. sample/makima_000280_02_20240916074915.png +0 -0
  14. sample/makima_000280_03_20240916074933.png +0 -0
  15. sample/makima_000420_00_20240916075642.png +0 -0
  16. sample/makima_000420_01_20240916075659.png +0 -0
  17. sample/makima_000420_02_20240916075717.png +0 -0
  18. sample/makima_000420_03_20240916075735.png +0 -0
  19. sample/makima_000560_00_20240916080443.png +0 -0
  20. sample/makima_000560_01_20240916080501.png +0 -0
  21. sample/makima_000560_02_20240916080519.png +0 -0
  22. sample/makima_000560_03_20240916080536.png +0 -0
  23. sample/makima_000700_00_20240916081246.png +0 -0
  24. sample/makima_000700_01_20240916081304.png +0 -0
  25. sample/makima_000700_02_20240916081321.png +0 -0
  26. sample/makima_000700_03_20240916081339.png +0 -0
  27. sample/makima_000840_00_20240916082045.png +0 -0
  28. sample/makima_000840_01_20240916082102.png +0 -0
  29. sample/makima_000840_02_20240916082120.png +0 -0
  30. sample/makima_000840_03_20240916082137.png +0 -0
  31. sample/makima_000980_00_20240916082843.png +0 -0
  32. sample/makima_000980_01_20240916082901.png +0 -0
  33. sample/makima_000980_02_20240916082919.png +0 -0
  34. sample/makima_000980_03_20240916082936.png +0 -0
  35. sample/makima_001120_00_20240916083642.png +0 -0
  36. sample/makima_001120_01_20240916083700.png +0 -0
  37. sample/makima_001120_02_20240916083717.png +0 -0
  38. sample/makima_001120_03_20240916083735.png +0 -0
  39. sample_prompts.txt +4 -0
  40. train.bat +34 -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/makima_001120_00_20240916083642.png
12
+ text: mkm is playing chess
13
+ - output:
14
+ url: sample/makima_001120_01_20240916083700.png
15
+ text: mkm lying on a beach
16
+ - output:
17
+ url: sample/makima_001120_02_20240916083717.png
18
+ text: mkm dressed as chef, making ramen
19
+ - output:
20
+ url: sample/makima_001120_03_20240916083735.png
21
+ text: mkm is wearing a wedding dress
22
+ base_model: black-forest-labs/FLUX.1-dev
23
+ instance_prompt: mkm
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
+ # makima
30
+
31
+ Trained with [Fluxgym](https://github.com/cocktailpeanut/fluxgym)
32
+
33
+ <Gallery />
34
+
35
+ ## Trigger words
36
+
37
+ You should use `mkm` 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 = 'C:\pinokio\api\fluxgym.git\datasets\makima'
13
+ class_tokens = 'mkm'
14
+ num_repeats = 10
makima-000004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9173eae738aed506cc5d56ff2634d7fc8157817b0dae12debcb83b4a91bbe5dc
3
+ size 39757168
makima-000008.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:40a262a2fff88ca24fada2c44e82c71a204a1bc9f5771e1437cda77937b94ef9
3
+ size 39757168
makima-000012.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a6347a4c01facbfe2a20d1eaaa2ed8295d24ad8f388348ae9d0a644f19f828ab
3
+ size 39757168
makima.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dabac08c4fda755538176587ca22e3726bbdcc0e8c71be51cdc769aa11a0dfaa
3
+ size 39757168
sample/makima_000140_00_20240916074035.png ADDED
sample/makima_000140_01_20240916074052.png ADDED
sample/makima_000140_02_20240916074110.png ADDED
sample/makima_000140_03_20240916074128.png ADDED
sample/makima_000280_00_20240916074840.png ADDED
sample/makima_000280_01_20240916074857.png ADDED
sample/makima_000280_02_20240916074915.png ADDED
sample/makima_000280_03_20240916074933.png ADDED
sample/makima_000420_00_20240916075642.png ADDED
sample/makima_000420_01_20240916075659.png ADDED
sample/makima_000420_02_20240916075717.png ADDED
sample/makima_000420_03_20240916075735.png ADDED
sample/makima_000560_00_20240916080443.png ADDED
sample/makima_000560_01_20240916080501.png ADDED
sample/makima_000560_02_20240916080519.png ADDED
sample/makima_000560_03_20240916080536.png ADDED
sample/makima_000700_00_20240916081246.png ADDED
sample/makima_000700_01_20240916081304.png ADDED
sample/makima_000700_02_20240916081321.png ADDED
sample/makima_000700_03_20240916081339.png ADDED
sample/makima_000840_00_20240916082045.png ADDED
sample/makima_000840_01_20240916082102.png ADDED
sample/makima_000840_02_20240916082120.png ADDED
sample/makima_000840_03_20240916082137.png ADDED
sample/makima_000980_00_20240916082843.png ADDED
sample/makima_000980_01_20240916082901.png ADDED
sample/makima_000980_02_20240916082919.png ADDED
sample/makima_000980_03_20240916082936.png ADDED
sample/makima_001120_00_20240916083642.png ADDED
sample/makima_001120_01_20240916083700.png ADDED
sample/makima_001120_02_20240916083717.png ADDED
sample/makima_001120_03_20240916083735.png ADDED
sample_prompts.txt ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ mkm is playing chess
2
+ mkm lying on a beach
3
+ mkm dressed as chef, making ramen
4
+ mkm is wearing a wedding dress
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:\pinokio\api\fluxgym.git\models\unet\flux1-dev.sft" ^
6
+ --clip_l "C:\pinokio\api\fluxgym.git\models\clip\clip_l.safetensors" ^
7
+ --t5xxl "C:\pinokio\api\fluxgym.git\models\clip\t5xxl_fp16.safetensors" ^
8
+ --ae "C:\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 adamw8bit ^--sample_prompts="C:\pinokio\api\fluxgym.git\outputs\makima\sample_prompts.txt" --sample_every_n_steps="140" ^
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:\pinokio\api\fluxgym.git\outputs\makima\dataset.toml" ^
28
+ --output_dir "C:\pinokio\api\fluxgym.git\outputs\makima" ^
29
+ --output_name makima ^
30
+ --timestep_sampling shift ^
31
+ --discrete_flow_shift 3.1582 ^
32
+ --model_prediction_type raw ^
33
+ --guidance_scale 1 ^
34
+ --loss_type l2 ^