Upload folder using huggingface_hub
Browse files- dataset.toml +14 -0
- marcio-test-3-000004.safetensors +3 -0
- marcio-test-3-000008.safetensors +3 -0
- marcio-test-3-000012.safetensors +3 -0
- marcio-test-3-000016.safetensors +3 -0
- marcio-test-3-000020.safetensors +3 -0
- sample/marcio-test-3_000100_00_20250129105018.png +0 -0
- sample/marcio-test-3_000200_00_20250129105341.png +0 -0
- sample/marcio-test-3_000300_00_20250129105704.png +0 -0
- sample/marcio-test-3_000400_00_20250129110028.png +0 -0
- sample/marcio-test-3_000500_00_20250129110350.png +0 -0
- sample/marcio-test-3_000600_00_20250129110712.png +0 -0
- sample/marcio-test-3_000700_00_20250129111034.png +0 -0
- sample/marcio-test-3_000800_00_20250129111357.png +0 -0
- sample/marcio-test-3_000900_00_20250129111718.png +0 -0
- sample/marcio-test-3_001000_00_20250129112041.png +0 -0
- sample_prompts.txt +1 -0
- train.sh +38 -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 = 1024
|
| 8 |
+
batch_size = 1
|
| 9 |
+
keep_tokens = 1
|
| 10 |
+
|
| 11 |
+
[[datasets.subsets]]
|
| 12 |
+
image_dir = '/app/fluxgym/datasets/marcio-test-3'
|
| 13 |
+
class_tokens = 'MARCIO'
|
| 14 |
+
num_repeats = 12
|
marcio-test-3-000004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:751acd80b28ea223d5a131a0c6efc1765717eda0f2b209adaf1e7ee96f4609a1
|
| 3 |
+
size 317077080
|
marcio-test-3-000008.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:aaa8c5fa90218abf09e0140eca01ca81282c5466648c76fe8a637458c6253065
|
| 3 |
+
size 317077080
|
marcio-test-3-000012.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bd70e75f735981ddbf3ccd414a71386065481f55925d79176d42e852bd223464
|
| 3 |
+
size 317077080
|
marcio-test-3-000016.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:30fea1930210f6b2a41969131df6580f518db275966bccdbe83f30c269d647d7
|
| 3 |
+
size 317077080
|
marcio-test-3-000020.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:af566fa47cf53944cd5190474fa5eeb9a93f0dcdffdedb79b43c5fb71196ff85
|
| 3 |
+
size 317077080
|
sample/marcio-test-3_000100_00_20250129105018.png
ADDED
|
sample/marcio-test-3_000200_00_20250129105341.png
ADDED
|
sample/marcio-test-3_000300_00_20250129105704.png
ADDED
|
sample/marcio-test-3_000400_00_20250129110028.png
ADDED
|
sample/marcio-test-3_000500_00_20250129110350.png
ADDED
|
sample/marcio-test-3_000600_00_20250129110712.png
ADDED
|
sample/marcio-test-3_000700_00_20250129111034.png
ADDED
|
sample/marcio-test-3_000800_00_20250129111357.png
ADDED
|
sample/marcio-test-3_000900_00_20250129111718.png
ADDED
|
sample/marcio-test-3_001000_00_20250129112041.png
ADDED
|
sample_prompts.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
MARCIO
|
train.sh
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 32 \
|
| 19 |
+
--optimizer_type adamw8bit \--sample_prompts="/app/fluxgym/outputs/marcio-test-3/sample_prompts.txt" --sample_every_n_steps="100" \
|
| 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 25 \
|
| 26 |
+
--save_every_n_epochs 4 \
|
| 27 |
+
--dataset_config "/app/fluxgym/outputs/marcio-test-3/dataset.toml" \
|
| 28 |
+
--output_dir "/app/fluxgym/outputs/marcio-test-3" \
|
| 29 |
+
--output_name marcio-test-3 \
|
| 30 |
+
--timestep_sampling shift \
|
| 31 |
+
--discrete_flow_shift 3.1582 \
|
| 32 |
+
--model_prediction_type raw \
|
| 33 |
+
--guidance_scale 3.5 \
|
| 34 |
+
--loss_type l2 \
|
| 35 |
+
--flip_aug \
|
| 36 |
+
--full_bf16 \
|
| 37 |
+
--noise_offset 0.1 \
|
| 38 |
+
--train_batch_size 6
|