Upload folder using huggingface_hub
Browse files- dataset.toml +14 -0
- s0ftnud3-v2-000002.safetensors +3 -0
- s0ftnud3-v2-000004.safetensors +3 -0
- sample/s0ftnud3-v2_000660_00_20250124142112.png +0 -0
- sample/s0ftnud3-v2_000660_01_20250124142126.png +0 -0
- sample/s0ftnud3-v2_000660_02_20250124142139.png +0 -0
- sample/s0ftnud3-v2_000660_03_20250124142152.png +0 -0
- sample/s0ftnud3-v2_001320_00_20250124151011.png +0 -0
- sample/s0ftnud3-v2_001320_01_20250124151024.png +0 -0
- sample/s0ftnud3-v2_001320_02_20250124151038.png +0 -0
- sample/s0ftnud3-v2_001320_03_20250124151051.png +0 -0
- sample/s0ftnud3-v2_001980_00_20250124155911.png +0 -0
- sample/s0ftnud3-v2_001980_01_20250124155924.png +0 -0
- sample/s0ftnud3-v2_001980_02_20250124155937.png +0 -0
- sample/s0ftnud3-v2_001980_03_20250124155951.png +0 -0
- sample/s0ftnud3-v2_002640_00_20250124164810.png +0 -0
- sample/s0ftnud3-v2_002640_01_20250124164824.png +0 -0
- sample/s0ftnud3-v2_002640_02_20250124164837.png +0 -0
- sample/s0ftnud3-v2_002640_03_20250124164850.png +0 -0
- sample/s0ftnud3-v2_003300_00_20250124173710.png +0 -0
- sample/s0ftnud3-v2_003300_01_20250124173723.png +0 -0
- sample/s0ftnud3-v2_003300_02_20250124173736.png +0 -0
- sample/s0ftnud3-v2_003300_03_20250124173750.png +0 -0
- sample_prompts.txt +7 -0
- train.sh +34 -0
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 = 768
|
8 |
+
batch_size = 1
|
9 |
+
keep_tokens = 1
|
10 |
+
|
11 |
+
[[datasets.subsets]]
|
12 |
+
image_dir = '/app/fluxgym/datasets/s0ftnud3-v2'
|
13 |
+
class_tokens = 'A s0ftnud3 style photograph'
|
14 |
+
num_repeats = 20
|
s0ftnud3-v2-000002.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5f905b8118df64b736aae48a0660cf82ac09585a3124d11e98f2318c668bf1f3
|
3 |
+
size 158641016
|
s0ftnud3-v2-000004.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6be01bc65e6cb6ea2e4479e925aad09ce086f8e0f0fd25c2984c4c51b8f5d2f3
|
3 |
+
size 158641016
|
sample/s0ftnud3-v2_000660_00_20250124142112.png
ADDED
![]() |
sample/s0ftnud3-v2_000660_01_20250124142126.png
ADDED
![]() |
sample/s0ftnud3-v2_000660_02_20250124142139.png
ADDED
![]() |
sample/s0ftnud3-v2_000660_03_20250124142152.png
ADDED
![]() |
sample/s0ftnud3-v2_001320_00_20250124151011.png
ADDED
![]() |
sample/s0ftnud3-v2_001320_01_20250124151024.png
ADDED
![]() |
sample/s0ftnud3-v2_001320_02_20250124151038.png
ADDED
![]() |
sample/s0ftnud3-v2_001320_03_20250124151051.png
ADDED
![]() |
sample/s0ftnud3-v2_001980_00_20250124155911.png
ADDED
![]() |
sample/s0ftnud3-v2_001980_01_20250124155924.png
ADDED
![]() |
sample/s0ftnud3-v2_001980_02_20250124155937.png
ADDED
![]() |
sample/s0ftnud3-v2_001980_03_20250124155951.png
ADDED
![]() |
sample/s0ftnud3-v2_002640_00_20250124164810.png
ADDED
![]() |
sample/s0ftnud3-v2_002640_01_20250124164824.png
ADDED
![]() |
sample/s0ftnud3-v2_002640_02_20250124164837.png
ADDED
![]() |
sample/s0ftnud3-v2_002640_03_20250124164850.png
ADDED
![]() |
sample/s0ftnud3-v2_003300_00_20250124173710.png
ADDED
![]() |
sample/s0ftnud3-v2_003300_01_20250124173723.png
ADDED
![]() |
sample/s0ftnud3-v2_003300_02_20250124173736.png
ADDED
![]() |
sample/s0ftnud3-v2_003300_03_20250124173750.png
ADDED
![]() |
sample_prompts.txt
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
A s0ftnud3 style photograph of a young woman lying on a bed in a modern dimly lit bedroom.
|
2 |
+
|
3 |
+
A s0ftnud3 style photograph of a woman sitting on a sandy beach.
|
4 |
+
|
5 |
+
A black and white photograph. A s0ftnud3 style photograph of the rear view of a woman standing in front of a window with horizontal blinds
|
6 |
+
|
7 |
+
A s0ftnud3 style photograph of a young woman in a bathroom.
|
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 16 \
|
19 |
+
--optimizer_type adamw8bit \--sample_prompts="/app/fluxgym/outputs/s0ftnud3-v2/sample_prompts.txt" --sample_every_n_steps="660" \
|
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 6 \
|
26 |
+
--save_every_n_epochs 2 \
|
27 |
+
--dataset_config "/app/fluxgym/outputs/s0ftnud3-v2/dataset.toml" \
|
28 |
+
--output_dir "/app/fluxgym/outputs/s0ftnud3-v2" \
|
29 |
+
--output_name s0ftnud3-v2 \
|
30 |
+
--timestep_sampling shift \
|
31 |
+
--discrete_flow_shift 3.1582 \
|
32 |
+
--model_prediction_type raw \
|
33 |
+
--guidance_scale 1 \
|
34 |
+
--loss_type l2 \
|