Grohv commited on
Commit
f0c58fa
·
verified ·
1 Parent(s): f2c3f62

Upload folder using huggingface_hub

Browse files
Files changed (34) hide show
  1. README.md +38 -0
  2. dataset.toml +14 -0
  3. oilyart-lora-000002.safetensors +3 -0
  4. oilyart-lora-000004.safetensors +3 -0
  5. oilyart-lora-000006.safetensors +3 -0
  6. oilyart-lora-000008.safetensors +3 -0
  7. oilyart-lora-000010.safetensors +3 -0
  8. oilyart-lora-000012.safetensors +3 -0
  9. oilyart-lora-000014.safetensors +3 -0
  10. oilyart-lora-000016.safetensors +3 -0
  11. oilyart-lora-000018.safetensors +3 -0
  12. oilyart-lora.safetensors +3 -0
  13. sample/oilyart-lora_000074_00_20241105195112.png +0 -0
  14. sample/oilyart-lora_000148_00_20241105195342.png +0 -0
  15. sample/oilyart-lora_000222_00_20241105195612.png +0 -0
  16. sample/oilyart-lora_000296_00_20241105195843.png +0 -0
  17. sample/oilyart-lora_000370_00_20241105200113.png +0 -0
  18. sample/oilyart-lora_000444_00_20241105200344.png +0 -0
  19. sample/oilyart-lora_000518_00_20241105200614.png +0 -0
  20. sample/oilyart-lora_000592_00_20241105200844.png +0 -0
  21. sample/oilyart-lora_000666_00_20241105201113.png +0 -0
  22. sample/oilyart-lora_000740_00_20241105201343.png +0 -0
  23. sample/oilyart-lora_000814_00_20241105201613.png +0 -0
  24. sample/oilyart-lora_000888_00_20241105201844.png +0 -0
  25. sample/oilyart-lora_000962_00_20241105202114.png +0 -0
  26. sample/oilyart-lora_001036_00_20241105202344.png +0 -0
  27. sample/oilyart-lora_001110_00_20241105202613.png +0 -0
  28. sample/oilyart-lora_001184_00_20241105202843.png +0 -0
  29. sample/oilyart-lora_001258_00_20241105203113.png +0 -0
  30. sample/oilyart-lora_001332_00_20241105203343.png +0 -0
  31. sample/oilyart-lora_001406_00_20241105203613.png +0 -0
  32. sample/oilyart-lora_001480_00_20241105203845.png +0 -0
  33. sample_prompts.txt +1 -0
  34. train.sh +34 -0
README.md ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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/oilyart-lora_001480_00_20241105203845.png
12
+ text: In the style of oilyart_lora. In a dark gloomy fantasy world filled with
13
+ floating bounders covered in green and red moss, stands a beautiful woman
14
+ with long white hair. She is surrounded by glowing magical orbs that swirl
15
+ throughout the night air. She wears a short pleated skirt and black tank-top.
16
+ Her stockings and leather boots place her firmly on the dirt path below her.
17
+ Her dazzling green eyes pierce the night air as she stares at the viewer.
18
+ base_model: black-forest-labs/FLUX.1-dev
19
+ instance_prompt: oilyart_lora
20
+ license: other
21
+ license_name: flux-1-dev-non-commercial-license
22
+ license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
23
+ ---
24
+
25
+ # oilyart_lora
26
+
27
+ A Flux LoRA trained on a local computer with [Fluxgym](https://github.com/cocktailpeanut/fluxgym)
28
+
29
+ <Gallery />
30
+
31
+ ## Trigger words
32
+
33
+ You should use `oilyart_lora` to trigger the image generation.
34
+
35
+ ## Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, Forge, etc.
36
+
37
+ Weights for this model are available in Safetensors format.
38
+
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/oilyart-lora'
13
+ class_tokens = 'oilyart_lora'
14
+ num_repeats = 1
oilyart-lora-000002.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4b05b798ef0900fe1b2f174d2b2b09e230126ec9568a09f39e05c53a3fd668fd
3
+ size 39757160
oilyart-lora-000004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:89142e6e82bc4fa20c895cc689557fbf528df699af42df2d2337082415a34b04
3
+ size 39757160
oilyart-lora-000006.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9bcda926d5e2a761a0571699f06c36b5924d9b9c48aa65a354e3b94cd039de12
3
+ size 39757160
oilyart-lora-000008.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0a0ade0e7997a4aa3b43c791bdf405f07bf1ccec56c11569363b2eb2e9029415
3
+ size 39757160
oilyart-lora-000010.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c995545c33b04d8339ed164f5c370b2a0f17c987568b980bbff0bb0a8aae3953
3
+ size 39757160
oilyart-lora-000012.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0b956b1daf0544eef1d26f29a6da04dc41f47c2456ccfbd9c5bc711817f31b7b
3
+ size 39757160
oilyart-lora-000014.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1e1c0f43f896368f7573fece620a75ff40eeb0ffab0e713f119cb75e6935d799
3
+ size 39757160
oilyart-lora-000016.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:500c5e4488fe810a6e79f7f74ccaddc080edee7eaa5828b8f1f447a439fe72f7
3
+ size 39757160
oilyart-lora-000018.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6261518ce25c3279d5b60391d9bc723b24629f53012d2ac2ede85d0872067f8c
3
+ size 39757160
oilyart-lora.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5b822f3f71e575747894d0f35adc639b449e06c2f37beb4c770eff8fa0bad14c
3
+ size 39757160
sample/oilyart-lora_000074_00_20241105195112.png ADDED
sample/oilyart-lora_000148_00_20241105195342.png ADDED
sample/oilyart-lora_000222_00_20241105195612.png ADDED
sample/oilyart-lora_000296_00_20241105195843.png ADDED
sample/oilyart-lora_000370_00_20241105200113.png ADDED
sample/oilyart-lora_000444_00_20241105200344.png ADDED
sample/oilyart-lora_000518_00_20241105200614.png ADDED
sample/oilyart-lora_000592_00_20241105200844.png ADDED
sample/oilyart-lora_000666_00_20241105201113.png ADDED
sample/oilyart-lora_000740_00_20241105201343.png ADDED
sample/oilyart-lora_000814_00_20241105201613.png ADDED
sample/oilyart-lora_000888_00_20241105201844.png ADDED
sample/oilyart-lora_000962_00_20241105202114.png ADDED
sample/oilyart-lora_001036_00_20241105202344.png ADDED
sample/oilyart-lora_001110_00_20241105202613.png ADDED
sample/oilyart-lora_001184_00_20241105202843.png ADDED
sample/oilyart-lora_001258_00_20241105203113.png ADDED
sample/oilyart-lora_001332_00_20241105203343.png ADDED
sample/oilyart-lora_001406_00_20241105203613.png ADDED
sample/oilyart-lora_001480_00_20241105203845.png ADDED
sample_prompts.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ In the style of oilyart_lora. In a dark gloomy fantasy world filled with floating bounders covered in green and red moss, stands a beautiful woman with long white hair. She is surrounded by glowing magical orbs that swirl throughout the night air. She wears a short pleated skirt and black tank-top. Her stockings and leather boots place her firmly on the dirt path below her. Her dazzling green eyes pierce the night air as she stares at the viewer.
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/oilyart-lora/sample_prompts.txt" --sample_every_n_steps="74" \
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 20 \
26
+ --save_every_n_epochs 2 \
27
+ --dataset_config "/app/fluxgym/outputs/oilyart-lora/dataset.toml" \
28
+ --output_dir "/app/fluxgym/outputs/oilyart-lora" \
29
+ --output_name oilyart-lora \
30
+ --timestep_sampling shift \
31
+ --discrete_flow_shift 3.1582 \
32
+ --model_prediction_type raw \
33
+ --guidance_scale 1 \
34
+ --loss_type l2 \