Nichtkunst commited on
Commit
04a0c5c
1 Parent(s): 69ad80e

Upload folder using huggingface_hub

Browse files
Files changed (48) hide show
  1. README.md +33 -0
  2. dataset.toml +14 -0
  3. liumuchen1111-000004.safetensors +3 -0
  4. liumuchen1111-000008.safetensors +3 -0
  5. liumuchen1111-000012.safetensors +3 -0
  6. liumuchen1111.safetensors +3 -0
  7. sample/liumuchen1111_000040_00_20241018165527.png +0 -0
  8. sample/liumuchen1111_000080_00_20241018165614.png +0 -0
  9. sample/liumuchen1111_000120_00_20241018165702.png +0 -0
  10. sample/liumuchen1111_000160_00_20241018165749.png +0 -0
  11. sample/liumuchen1111_000200_00_20241018165836.png +0 -0
  12. sample/liumuchen1111_000240_00_20241018165929.png +0 -0
  13. sample/liumuchen1111_000280_00_20241018170023.png +0 -0
  14. sample/liumuchen1111_000320_00_20241018170112.png +0 -0
  15. sample/liumuchen1111_000360_00_20241018170159.png +0 -0
  16. sample/liumuchen1111_000400_00_20241018170246.png +0 -0
  17. sample/liumuchen1111_000440_00_20241018170334.png +0 -0
  18. sample/liumuchen1111_000480_00_20241018170421.png +0 -0
  19. sample/liumuchen1111_000520_00_20241018170508.png +0 -0
  20. sample/liumuchen1111_000560_00_20241018170555.png +0 -0
  21. sample/liumuchen1111_000600_00_20241018170642.png +0 -0
  22. sample/liumuchen1111_000640_00_20241018170731.png +0 -0
  23. sample/liumuchen1111_000680_00_20241018170825.png +0 -0
  24. sample/liumuchen1111_000720_00_20241018170920.png +0 -0
  25. sample/liumuchen1111_000760_00_20241018171014.png +0 -0
  26. sample/liumuchen1111_000800_00_20241018171101.png +0 -0
  27. sample/liumuchen1111_000840_00_20241018171148.png +0 -0
  28. sample/liumuchen1111_000880_00_20241018171236.png +0 -0
  29. sample/liumuchen1111_000920_00_20241018171323.png +0 -0
  30. sample/liumuchen1111_000960_00_20241018171410.png +0 -0
  31. sample/liumuchen1111_001000_00_20241018171457.png +0 -0
  32. sample/liumuchen1111_001040_00_20241018171545.png +0 -0
  33. sample/liumuchen1111_001080_00_20241018171632.png +0 -0
  34. sample/liumuchen1111_001120_00_20241018171719.png +0 -0
  35. sample/liumuchen1111_001160_00_20241018171807.png +0 -0
  36. sample/liumuchen1111_001200_00_20241018171856.png +0 -0
  37. sample/liumuchen1111_001240_00_20241018171950.png +0 -0
  38. sample/liumuchen1111_001280_00_20241018172042.png +0 -0
  39. sample/liumuchen1111_001320_00_20241018172136.png +0 -0
  40. sample/liumuchen1111_001360_00_20241018172228.png +0 -0
  41. sample/liumuchen1111_001400_00_20241018172316.png +0 -0
  42. sample/liumuchen1111_001440_00_20241018172403.png +0 -0
  43. sample/liumuchen1111_001480_00_20241018172450.png +0 -0
  44. sample/liumuchen1111_001520_00_20241018172537.png +0 -0
  45. sample/liumuchen1111_001560_00_20241018172625.png +0 -0
  46. sample/liumuchen1111_001600_00_20241018172712.png +0 -0
  47. sample_prompts.txt +1 -0
  48. train.sh +34 -0
README.md ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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/liumuchen1111_001600_00_20241018172712.png
12
+ text: Liumuchen1111 playing drums
13
+ base_model: black-forest-labs/FLUX.1-dev
14
+ instance_prompt: Liumuchen1111
15
+ license: other
16
+ license_name: flux-1-dev-non-commercial-license
17
+ license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
18
+ ---
19
+
20
+ # Liumuchen1111
21
+
22
+ A Flux LoRA trained on a local computer with [Fluxgym](https://github.com/cocktailpeanut/fluxgym)
23
+
24
+ <Gallery />
25
+
26
+ ## Trigger words
27
+
28
+ You should use `Liumuchen1111` to trigger the image generation.
29
+
30
+ ## Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, Forge, etc.
31
+
32
+ Weights for this model are available in Safetensors format.
33
+
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 = '/app/fluxgym/datasets/liumuchen1111'
13
+ class_tokens = 'Liumuchen1111'
14
+ num_repeats = 10
liumuchen1111-000004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0078db1cc1a1613d9e8cee084d7b811ba459fb1a7a59909875f1b0e4abd60a0f
3
+ size 39757168
liumuchen1111-000008.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0a08ddc939096c589ad306af39cf16eede3aac9c1646321e02a6131e22148652
3
+ size 39757168
liumuchen1111-000012.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d78fa4f3e23468c6cbf3ce6117decfa56bd3fd336b7a02df21b94b9806a8d131
3
+ size 39757176
liumuchen1111.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7af0ff29a5add142f541fe3bc7ba5dce57d7ec16896211357977b89bd98e0c69
3
+ size 39757176
sample/liumuchen1111_000040_00_20241018165527.png ADDED
sample/liumuchen1111_000080_00_20241018165614.png ADDED
sample/liumuchen1111_000120_00_20241018165702.png ADDED
sample/liumuchen1111_000160_00_20241018165749.png ADDED
sample/liumuchen1111_000200_00_20241018165836.png ADDED
sample/liumuchen1111_000240_00_20241018165929.png ADDED
sample/liumuchen1111_000280_00_20241018170023.png ADDED
sample/liumuchen1111_000320_00_20241018170112.png ADDED
sample/liumuchen1111_000360_00_20241018170159.png ADDED
sample/liumuchen1111_000400_00_20241018170246.png ADDED
sample/liumuchen1111_000440_00_20241018170334.png ADDED
sample/liumuchen1111_000480_00_20241018170421.png ADDED
sample/liumuchen1111_000520_00_20241018170508.png ADDED
sample/liumuchen1111_000560_00_20241018170555.png ADDED
sample/liumuchen1111_000600_00_20241018170642.png ADDED
sample/liumuchen1111_000640_00_20241018170731.png ADDED
sample/liumuchen1111_000680_00_20241018170825.png ADDED
sample/liumuchen1111_000720_00_20241018170920.png ADDED
sample/liumuchen1111_000760_00_20241018171014.png ADDED
sample/liumuchen1111_000800_00_20241018171101.png ADDED
sample/liumuchen1111_000840_00_20241018171148.png ADDED
sample/liumuchen1111_000880_00_20241018171236.png ADDED
sample/liumuchen1111_000920_00_20241018171323.png ADDED
sample/liumuchen1111_000960_00_20241018171410.png ADDED
sample/liumuchen1111_001000_00_20241018171457.png ADDED
sample/liumuchen1111_001040_00_20241018171545.png ADDED
sample/liumuchen1111_001080_00_20241018171632.png ADDED
sample/liumuchen1111_001120_00_20241018171719.png ADDED
sample/liumuchen1111_001160_00_20241018171807.png ADDED
sample/liumuchen1111_001200_00_20241018171856.png ADDED
sample/liumuchen1111_001240_00_20241018171950.png ADDED
sample/liumuchen1111_001280_00_20241018172042.png ADDED
sample/liumuchen1111_001320_00_20241018172136.png ADDED
sample/liumuchen1111_001360_00_20241018172228.png ADDED
sample/liumuchen1111_001400_00_20241018172316.png ADDED
sample/liumuchen1111_001440_00_20241018172403.png ADDED
sample/liumuchen1111_001480_00_20241018172450.png ADDED
sample/liumuchen1111_001520_00_20241018172537.png ADDED
sample/liumuchen1111_001560_00_20241018172625.png ADDED
sample/liumuchen1111_001600_00_20241018172712.png ADDED
sample_prompts.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ Liumuchen1111 playing drums
train.sh 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 "/app/fluxgym/models/unet/flux1-dev.sft" \
6
+ --clip_l "/app/fluxgym/models/clip/clip_l.safetensors" \
7
+ --t5xxl "/app/fluxgym/models/clip/t5xxl_fp16.safetensors" \
8
+ --ae "/app/fluxgym/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="/app/fluxgym/outputs/liumuchen1111/sample_prompts.txt" --sample_every_n_steps="40" \
20
+ --learning_rate 3e-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 "/app/fluxgym/outputs/liumuchen1111/dataset.toml" \
28
+ --output_dir "/app/fluxgym/outputs/liumuchen1111" \
29
+ --output_name liumuchen1111 \
30
+ --timestep_sampling shift \
31
+ --discrete_flow_shift 3.1582 \
32
+ --model_prediction_type raw \
33
+ --guidance_scale 1 \
34
+ --loss_type l2 \