Upload folder using huggingface_hub
Browse files- .gitattributes +36 -0
- README.md +39 -3
- dataset.toml +14 -0
- sample/wojo_000300_00_20250215053402.png +3 -0
- sample/wojo_000300_01_20250215053408.png +3 -0
- sample/wojo_000300_02_20250215053413.png +3 -0
- sample/wojo_000600_00_20250215054914.png +3 -0
- sample/wojo_000600_01_20250215054919.png +3 -0
- sample/wojo_000600_02_20250215054925.png +3 -0
- sample/wojo_000900_00_20250215060425.png +3 -0
- sample/wojo_000900_01_20250215060431.png +3 -0
- sample/wojo_000900_02_20250215060437.png +3 -0
- sample/wojo_001200_00_20250215061937.png +3 -0
- sample/wojo_001200_01_20250215061943.png +3 -0
- sample/wojo_001200_02_20250215061948.png +3 -0
- sample/wojo_001500_00_20250215063452.png +3 -0
- sample/wojo_001500_01_20250215063458.png +3 -0
- sample/wojo_001500_02_20250215063504.png +3 -0
- sample/wojo_001800_00_20250215065004.png +3 -0
- sample/wojo_001800_01_20250215065010.png +3 -0
- sample/wojo_001800_02_20250215065016.png +3 -0
- sample/wojo_002100_00_20250215070517.png +3 -0
- sample/wojo_002100_01_20250215070522.png +3 -0
- sample/wojo_002100_02_20250215070528.png +3 -0
- sample/wojo_002400_00_20250215072029.png +3 -0
- sample/wojo_002400_01_20250215072035.png +3 -0
- sample/wojo_002400_02_20250215072040.png +3 -0
- sample/wojo_002700_00_20250215073541.png +3 -0
- sample/wojo_002700_01_20250215073547.png +3 -0
- sample/wojo_002700_02_20250215073552.png +3 -0
- sample/wojo_003000_00_20250215075053.png +3 -0
- sample/wojo_003000_01_20250215075059.png +3 -0
- sample/wojo_003000_02_20250215075104.png +3 -0
- sample/wojo_003300_00_20250215080605.png +3 -0
- sample/wojo_003300_01_20250215080610.png +3 -0
- sample/wojo_003300_02_20250215080616.png +3 -0
- sample/wojo_003600_00_20250215082116.png +3 -0
- sample/wojo_003600_01_20250215082122.png +3 -0
- sample/wojo_003600_02_20250215082128.png +3 -0
- sample_prompts.txt +3 -0
- train.sh +34 -0
- wojo-000004.safetensors +3 -0
- wojo-000008.safetensors +3 -0
- wojo-000012.safetensors +3 -0
- wojo.safetensors +3 -0
.gitattributes
CHANGED
@@ -33,3 +33,39 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
sample/wojo_000300_00_20250215053402.png filter=lfs diff=lfs merge=lfs -text
|
37 |
+
sample/wojo_000300_01_20250215053408.png filter=lfs diff=lfs merge=lfs -text
|
38 |
+
sample/wojo_000300_02_20250215053413.png filter=lfs diff=lfs merge=lfs -text
|
39 |
+
sample/wojo_000600_00_20250215054914.png filter=lfs diff=lfs merge=lfs -text
|
40 |
+
sample/wojo_000600_01_20250215054919.png filter=lfs diff=lfs merge=lfs -text
|
41 |
+
sample/wojo_000600_02_20250215054925.png filter=lfs diff=lfs merge=lfs -text
|
42 |
+
sample/wojo_000900_00_20250215060425.png filter=lfs diff=lfs merge=lfs -text
|
43 |
+
sample/wojo_000900_01_20250215060431.png filter=lfs diff=lfs merge=lfs -text
|
44 |
+
sample/wojo_000900_02_20250215060437.png filter=lfs diff=lfs merge=lfs -text
|
45 |
+
sample/wojo_001200_00_20250215061937.png filter=lfs diff=lfs merge=lfs -text
|
46 |
+
sample/wojo_001200_01_20250215061943.png filter=lfs diff=lfs merge=lfs -text
|
47 |
+
sample/wojo_001200_02_20250215061948.png filter=lfs diff=lfs merge=lfs -text
|
48 |
+
sample/wojo_001500_00_20250215063452.png filter=lfs diff=lfs merge=lfs -text
|
49 |
+
sample/wojo_001500_01_20250215063458.png filter=lfs diff=lfs merge=lfs -text
|
50 |
+
sample/wojo_001500_02_20250215063504.png filter=lfs diff=lfs merge=lfs -text
|
51 |
+
sample/wojo_001800_00_20250215065004.png filter=lfs diff=lfs merge=lfs -text
|
52 |
+
sample/wojo_001800_01_20250215065010.png filter=lfs diff=lfs merge=lfs -text
|
53 |
+
sample/wojo_001800_02_20250215065016.png filter=lfs diff=lfs merge=lfs -text
|
54 |
+
sample/wojo_002100_00_20250215070517.png filter=lfs diff=lfs merge=lfs -text
|
55 |
+
sample/wojo_002100_01_20250215070522.png filter=lfs diff=lfs merge=lfs -text
|
56 |
+
sample/wojo_002100_02_20250215070528.png filter=lfs diff=lfs merge=lfs -text
|
57 |
+
sample/wojo_002400_00_20250215072029.png filter=lfs diff=lfs merge=lfs -text
|
58 |
+
sample/wojo_002400_01_20250215072035.png filter=lfs diff=lfs merge=lfs -text
|
59 |
+
sample/wojo_002400_02_20250215072040.png filter=lfs diff=lfs merge=lfs -text
|
60 |
+
sample/wojo_002700_00_20250215073541.png filter=lfs diff=lfs merge=lfs -text
|
61 |
+
sample/wojo_002700_01_20250215073547.png filter=lfs diff=lfs merge=lfs -text
|
62 |
+
sample/wojo_002700_02_20250215073552.png filter=lfs diff=lfs merge=lfs -text
|
63 |
+
sample/wojo_003000_00_20250215075053.png filter=lfs diff=lfs merge=lfs -text
|
64 |
+
sample/wojo_003000_01_20250215075059.png filter=lfs diff=lfs merge=lfs -text
|
65 |
+
sample/wojo_003000_02_20250215075104.png filter=lfs diff=lfs merge=lfs -text
|
66 |
+
sample/wojo_003300_00_20250215080605.png filter=lfs diff=lfs merge=lfs -text
|
67 |
+
sample/wojo_003300_01_20250215080610.png filter=lfs diff=lfs merge=lfs -text
|
68 |
+
sample/wojo_003300_02_20250215080616.png filter=lfs diff=lfs merge=lfs -text
|
69 |
+
sample/wojo_003600_00_20250215082116.png filter=lfs diff=lfs merge=lfs -text
|
70 |
+
sample/wojo_003600_01_20250215082122.png filter=lfs diff=lfs merge=lfs -text
|
71 |
+
sample/wojo_003600_02_20250215082128.png filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
@@ -1,3 +1,39 @@
|
|
1 |
-
---
|
2 |
-
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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/wojo_003600_00_20250215082116.png
|
12 |
+
text: wojo on the bike
|
13 |
+
- output:
|
14 |
+
url: sample/wojo_003600_01_20250215082122.png
|
15 |
+
text: wojo on the rocket
|
16 |
+
- output:
|
17 |
+
url: sample/wojo_003600_02_20250215082128.png
|
18 |
+
text: wojo as pirate
|
19 |
+
base_model: black-forest-labs/FLUX.1-dev
|
20 |
+
instance_prompt: wojo
|
21 |
+
license: other
|
22 |
+
license_name: flux-1-dev-non-commercial-license
|
23 |
+
license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
|
24 |
+
---
|
25 |
+
|
26 |
+
# wojo
|
27 |
+
|
28 |
+
A Flux LoRA trained on a local computer with [Fluxgym](https://github.com/cocktailpeanut/fluxgym)
|
29 |
+
|
30 |
+
<Gallery />
|
31 |
+
|
32 |
+
## Trigger words
|
33 |
+
|
34 |
+
You should use `wojo` to trigger the image generation.
|
35 |
+
|
36 |
+
## Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, Forge, etc.
|
37 |
+
|
38 |
+
Weights for this model are available in Safetensors format.
|
39 |
+
|
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 = 1024
|
8 |
+
batch_size = 1
|
9 |
+
keep_tokens = 1
|
10 |
+
|
11 |
+
[[datasets.subsets]]
|
12 |
+
image_dir = '/app/fluxgym/datasets/wojo'
|
13 |
+
class_tokens = 'wojo'
|
14 |
+
num_repeats = 10
|
sample/wojo_000300_00_20250215053402.png
ADDED
![]() |
Git LFS Details
|
sample/wojo_000300_01_20250215053408.png
ADDED
![]() |
Git LFS Details
|
sample/wojo_000300_02_20250215053413.png
ADDED
![]() |
Git LFS Details
|
sample/wojo_000600_00_20250215054914.png
ADDED
![]() |
Git LFS Details
|
sample/wojo_000600_01_20250215054919.png
ADDED
![]() |
Git LFS Details
|
sample/wojo_000600_02_20250215054925.png
ADDED
![]() |
Git LFS Details
|
sample/wojo_000900_00_20250215060425.png
ADDED
![]() |
Git LFS Details
|
sample/wojo_000900_01_20250215060431.png
ADDED
![]() |
Git LFS Details
|
sample/wojo_000900_02_20250215060437.png
ADDED
![]() |
Git LFS Details
|
sample/wojo_001200_00_20250215061937.png
ADDED
![]() |
Git LFS Details
|
sample/wojo_001200_01_20250215061943.png
ADDED
![]() |
Git LFS Details
|
sample/wojo_001200_02_20250215061948.png
ADDED
![]() |
Git LFS Details
|
sample/wojo_001500_00_20250215063452.png
ADDED
![]() |
Git LFS Details
|
sample/wojo_001500_01_20250215063458.png
ADDED
![]() |
Git LFS Details
|
sample/wojo_001500_02_20250215063504.png
ADDED
![]() |
Git LFS Details
|
sample/wojo_001800_00_20250215065004.png
ADDED
![]() |
Git LFS Details
|
sample/wojo_001800_01_20250215065010.png
ADDED
![]() |
Git LFS Details
|
sample/wojo_001800_02_20250215065016.png
ADDED
![]() |
Git LFS Details
|
sample/wojo_002100_00_20250215070517.png
ADDED
![]() |
Git LFS Details
|
sample/wojo_002100_01_20250215070522.png
ADDED
![]() |
Git LFS Details
|
sample/wojo_002100_02_20250215070528.png
ADDED
![]() |
Git LFS Details
|
sample/wojo_002400_00_20250215072029.png
ADDED
![]() |
Git LFS Details
|
sample/wojo_002400_01_20250215072035.png
ADDED
![]() |
Git LFS Details
|
sample/wojo_002400_02_20250215072040.png
ADDED
![]() |
Git LFS Details
|
sample/wojo_002700_00_20250215073541.png
ADDED
![]() |
Git LFS Details
|
sample/wojo_002700_01_20250215073547.png
ADDED
![]() |
Git LFS Details
|
sample/wojo_002700_02_20250215073552.png
ADDED
![]() |
Git LFS Details
|
sample/wojo_003000_00_20250215075053.png
ADDED
![]() |
Git LFS Details
|
sample/wojo_003000_01_20250215075059.png
ADDED
![]() |
Git LFS Details
|
sample/wojo_003000_02_20250215075104.png
ADDED
![]() |
Git LFS Details
|
sample/wojo_003300_00_20250215080605.png
ADDED
![]() |
Git LFS Details
|
sample/wojo_003300_01_20250215080610.png
ADDED
![]() |
Git LFS Details
|
sample/wojo_003300_02_20250215080616.png
ADDED
![]() |
Git LFS Details
|
sample/wojo_003600_00_20250215082116.png
ADDED
![]() |
Git LFS Details
|
sample/wojo_003600_01_20250215082122.png
ADDED
![]() |
Git LFS Details
|
sample/wojo_003600_02_20250215082128.png
ADDED
![]() |
Git LFS Details
|
sample_prompts.txt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
wojo on the bike
|
2 |
+
wojo on the rocket
|
3 |
+
wojo as pirate
|
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/wojo/sample_prompts.txt" --sample_every_n_steps="300" \
|
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 "/app/fluxgym/outputs/wojo/dataset.toml" \
|
28 |
+
--output_dir "/app/fluxgym/outputs/wojo" \
|
29 |
+
--output_name wojo \
|
30 |
+
--timestep_sampling shift \
|
31 |
+
--discrete_flow_shift 3.1582 \
|
32 |
+
--model_prediction_type raw \
|
33 |
+
--guidance_scale 1 \
|
34 |
+
--loss_type l2 \
|
wojo-000004.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:33a738fe222de438655947229335dbc8c06d8c42a01ab1485ac4d8929584c760
|
3 |
+
size 39763504
|
wojo-000008.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c71bff1f5fc00f2bbe1f45cac4ae4443a447e8bccf58dcc9731eaaf818e0bd00
|
3 |
+
size 39763504
|
wojo-000012.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6b884b9660a6ce4d810bc8e5bff41809630a87efbde78e5c894d2c9c7131ec7c
|
3 |
+
size 39763504
|
wojo.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d6ad54588041e18298de5db8c78dd49b7973b393fdaeba05f4852ba68aadb952
|
3 |
+
size 39763504
|