Upload folder using huggingface_hub
Browse files- .gitattributes +36 -0
- .ipynb_checkpoints/sample_prompts-checkpoint.txt +4 -0
- dataset.toml +14 -0
- sample/.ipynb_checkpoints/sof1e_000840_00_20250815163953-checkpoint.png +3 -0
- sample/.ipynb_checkpoints/sof1e_000840_01_20250815164003-checkpoint.png +3 -0
- sample/.ipynb_checkpoints/sof1e_000840_02_20250815164014-checkpoint.png +3 -0
- sample/.ipynb_checkpoints/sof1e_000840_03_20250815164024-checkpoint.png +3 -0
- sample/.ipynb_checkpoints/sof1e_000980_00_20250815165006-checkpoint.png +3 -0
- sample/.ipynb_checkpoints/sof1e_000980_01_20250815165016-checkpoint.png +3 -0
- sample/.ipynb_checkpoints/sof1e_000980_02_20250815165027-checkpoint.png +3 -0
- sample/.ipynb_checkpoints/sof1e_000980_03_20250815165037-checkpoint.png +3 -0
- sample/sof1e_000140_00_20250815154908.png +3 -0
- sample/sof1e_000140_01_20250815154918.png +3 -0
- sample/sof1e_000140_02_20250815154929.png +3 -0
- sample/sof1e_000140_03_20250815154939.png +3 -0
- sample/sof1e_000280_00_20250815155916.png +3 -0
- sample/sof1e_000280_01_20250815155926.png +3 -0
- sample/sof1e_000280_02_20250815155937.png +3 -0
- sample/sof1e_000280_03_20250815155947.png +3 -0
- sample/sof1e_000420_00_20250815160923.png +3 -0
- sample/sof1e_000420_01_20250815160934.png +3 -0
- sample/sof1e_000420_02_20250815160944.png +3 -0
- sample/sof1e_000420_03_20250815160954.png +3 -0
- sample/sof1e_000560_00_20250815161931.png +3 -0
- sample/sof1e_000560_01_20250815161941.png +3 -0
- sample/sof1e_000560_02_20250815161951.png +3 -0
- sample/sof1e_000560_03_20250815162002.png +3 -0
- sample/sof1e_000700_00_20250815162940.png +3 -0
- sample/sof1e_000700_01_20250815162950.png +3 -0
- sample/sof1e_000700_02_20250815163000.png +3 -0
- sample/sof1e_000700_03_20250815163011.png +3 -0
- sample/sof1e_000840_00_20250815163953.png +3 -0
- sample/sof1e_000840_01_20250815164003.png +3 -0
- sample/sof1e_000840_02_20250815164014.png +3 -0
- sample/sof1e_000840_03_20250815164024.png +3 -0
- sample/sof1e_000980_00_20250815165006.png +3 -0
- sample/sof1e_000980_01_20250815165016.png +3 -0
- sample/sof1e_000980_02_20250815165027.png +3 -0
- sample/sof1e_000980_03_20250815165037.png +3 -0
- sample_prompts.txt +4 -0
- sof1e-000002.safetensors +3 -0
- sof1e-000004.safetensors +3 -0
- sof1e-000006.safetensors +3 -0
- train.sh +35 -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/.ipynb_checkpoints/sof1e_000840_00_20250815163953-checkpoint.png filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
sample/.ipynb_checkpoints/sof1e_000840_01_20250815164003-checkpoint.png filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
sample/.ipynb_checkpoints/sof1e_000840_02_20250815164014-checkpoint.png filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
sample/.ipynb_checkpoints/sof1e_000840_03_20250815164024-checkpoint.png filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
sample/.ipynb_checkpoints/sof1e_000980_00_20250815165006-checkpoint.png filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
sample/.ipynb_checkpoints/sof1e_000980_01_20250815165016-checkpoint.png filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
sample/.ipynb_checkpoints/sof1e_000980_02_20250815165027-checkpoint.png filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
sample/.ipynb_checkpoints/sof1e_000980_03_20250815165037-checkpoint.png filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
sample/sof1e_000140_00_20250815154908.png filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
sample/sof1e_000140_01_20250815154918.png filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
sample/sof1e_000140_02_20250815154929.png filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
sample/sof1e_000140_03_20250815154939.png filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
sample/sof1e_000280_00_20250815155916.png filter=lfs diff=lfs merge=lfs -text
|
| 49 |
+
sample/sof1e_000280_01_20250815155926.png filter=lfs diff=lfs merge=lfs -text
|
| 50 |
+
sample/sof1e_000280_02_20250815155937.png filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
sample/sof1e_000280_03_20250815155947.png filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
sample/sof1e_000420_00_20250815160923.png filter=lfs diff=lfs merge=lfs -text
|
| 53 |
+
sample/sof1e_000420_01_20250815160934.png filter=lfs diff=lfs merge=lfs -text
|
| 54 |
+
sample/sof1e_000420_02_20250815160944.png filter=lfs diff=lfs merge=lfs -text
|
| 55 |
+
sample/sof1e_000420_03_20250815160954.png filter=lfs diff=lfs merge=lfs -text
|
| 56 |
+
sample/sof1e_000560_00_20250815161931.png filter=lfs diff=lfs merge=lfs -text
|
| 57 |
+
sample/sof1e_000560_01_20250815161941.png filter=lfs diff=lfs merge=lfs -text
|
| 58 |
+
sample/sof1e_000560_02_20250815161951.png filter=lfs diff=lfs merge=lfs -text
|
| 59 |
+
sample/sof1e_000560_03_20250815162002.png filter=lfs diff=lfs merge=lfs -text
|
| 60 |
+
sample/sof1e_000700_00_20250815162940.png filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
sample/sof1e_000700_01_20250815162950.png filter=lfs diff=lfs merge=lfs -text
|
| 62 |
+
sample/sof1e_000700_02_20250815163000.png filter=lfs diff=lfs merge=lfs -text
|
| 63 |
+
sample/sof1e_000700_03_20250815163011.png filter=lfs diff=lfs merge=lfs -text
|
| 64 |
+
sample/sof1e_000840_00_20250815163953.png filter=lfs diff=lfs merge=lfs -text
|
| 65 |
+
sample/sof1e_000840_01_20250815164003.png filter=lfs diff=lfs merge=lfs -text
|
| 66 |
+
sample/sof1e_000840_02_20250815164014.png filter=lfs diff=lfs merge=lfs -text
|
| 67 |
+
sample/sof1e_000840_03_20250815164024.png filter=lfs diff=lfs merge=lfs -text
|
| 68 |
+
sample/sof1e_000980_00_20250815165006.png filter=lfs diff=lfs merge=lfs -text
|
| 69 |
+
sample/sof1e_000980_01_20250815165016.png filter=lfs diff=lfs merge=lfs -text
|
| 70 |
+
sample/sof1e_000980_02_20250815165027.png filter=lfs diff=lfs merge=lfs -text
|
| 71 |
+
sample/sof1e_000980_03_20250815165037.png filter=lfs diff=lfs merge=lfs -text
|
.ipynb_checkpoints/sample_prompts-checkpoint.txt
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Sof1e A woman stands outside in the rain wearing rain gear.
|
| 2 |
+
Sof1e A woman on a bicycle wearing sportswear.
|
| 3 |
+
Sof1e A woman sleeps in a bed, wearing nightwear.
|
| 4 |
+
Sof1e A woman wearing a loose-fitting V-neck cowl crop top.
|
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/sof1e'
|
| 13 |
+
class_tokens = 'Sof1e'
|
| 14 |
+
num_repeats = 10
|
sample/.ipynb_checkpoints/sof1e_000840_00_20250815163953-checkpoint.png
ADDED
|
Git LFS Details
|
sample/.ipynb_checkpoints/sof1e_000840_01_20250815164003-checkpoint.png
ADDED
|
Git LFS Details
|
sample/.ipynb_checkpoints/sof1e_000840_02_20250815164014-checkpoint.png
ADDED
|
Git LFS Details
|
sample/.ipynb_checkpoints/sof1e_000840_03_20250815164024-checkpoint.png
ADDED
|
Git LFS Details
|
sample/.ipynb_checkpoints/sof1e_000980_00_20250815165006-checkpoint.png
ADDED
|
Git LFS Details
|
sample/.ipynb_checkpoints/sof1e_000980_01_20250815165016-checkpoint.png
ADDED
|
Git LFS Details
|
sample/.ipynb_checkpoints/sof1e_000980_02_20250815165027-checkpoint.png
ADDED
|
Git LFS Details
|
sample/.ipynb_checkpoints/sof1e_000980_03_20250815165037-checkpoint.png
ADDED
|
Git LFS Details
|
sample/sof1e_000140_00_20250815154908.png
ADDED
|
Git LFS Details
|
sample/sof1e_000140_01_20250815154918.png
ADDED
|
Git LFS Details
|
sample/sof1e_000140_02_20250815154929.png
ADDED
|
Git LFS Details
|
sample/sof1e_000140_03_20250815154939.png
ADDED
|
Git LFS Details
|
sample/sof1e_000280_00_20250815155916.png
ADDED
|
Git LFS Details
|
sample/sof1e_000280_01_20250815155926.png
ADDED
|
Git LFS Details
|
sample/sof1e_000280_02_20250815155937.png
ADDED
|
Git LFS Details
|
sample/sof1e_000280_03_20250815155947.png
ADDED
|
Git LFS Details
|
sample/sof1e_000420_00_20250815160923.png
ADDED
|
Git LFS Details
|
sample/sof1e_000420_01_20250815160934.png
ADDED
|
Git LFS Details
|
sample/sof1e_000420_02_20250815160944.png
ADDED
|
Git LFS Details
|
sample/sof1e_000420_03_20250815160954.png
ADDED
|
Git LFS Details
|
sample/sof1e_000560_00_20250815161931.png
ADDED
|
Git LFS Details
|
sample/sof1e_000560_01_20250815161941.png
ADDED
|
Git LFS Details
|
sample/sof1e_000560_02_20250815161951.png
ADDED
|
Git LFS Details
|
sample/sof1e_000560_03_20250815162002.png
ADDED
|
Git LFS Details
|
sample/sof1e_000700_00_20250815162940.png
ADDED
|
Git LFS Details
|
sample/sof1e_000700_01_20250815162950.png
ADDED
|
Git LFS Details
|
sample/sof1e_000700_02_20250815163000.png
ADDED
|
Git LFS Details
|
sample/sof1e_000700_03_20250815163011.png
ADDED
|
Git LFS Details
|
sample/sof1e_000840_00_20250815163953.png
ADDED
|
Git LFS Details
|
sample/sof1e_000840_01_20250815164003.png
ADDED
|
Git LFS Details
|
sample/sof1e_000840_02_20250815164014.png
ADDED
|
Git LFS Details
|
sample/sof1e_000840_03_20250815164024.png
ADDED
|
Git LFS Details
|
sample/sof1e_000980_00_20250815165006.png
ADDED
|
Git LFS Details
|
sample/sof1e_000980_01_20250815165016.png
ADDED
|
Git LFS Details
|
sample/sof1e_000980_02_20250815165027.png
ADDED
|
Git LFS Details
|
sample/sof1e_000980_03_20250815165037.png
ADDED
|
Git LFS Details
|
sample_prompts.txt
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Sof1e A woman stands outside in the rain wearing rain gear.
|
| 2 |
+
Sof1e A woman on a bicycle wearing sportswear.
|
| 3 |
+
Sof1e A woman sleeps in a bed, wearing nightwear.
|
| 4 |
+
Sof1e A woman wearing a loose-fitting V-neck cowl crop top.
|
sof1e-000002.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ebae6837784e7c07f90124a0743f61f0adbd033c157a91f16fb354c721970b7a
|
| 3 |
+
size 39762408
|
sof1e-000004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:59262d3e1a065c5bdfac8d4988c70d50ca010091d778d7812abd36e6c2d39249
|
| 3 |
+
size 39762408
|
sof1e-000006.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b8033f779c4eaa702fd25565e96df94864fa0c0decbce9a01077c0095f900591
|
| 3 |
+
size 39762408
|
train.sh
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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/sof1e/sample_prompts.txt" --sample_every_n_steps="140" \
|
| 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 2 \
|
| 27 |
+
--dataset_config "/app/fluxgym/outputs/sof1e/dataset.toml" \
|
| 28 |
+
--output_dir "/app/fluxgym/outputs/sof1e" \
|
| 29 |
+
--output_name sof1e \
|
| 30 |
+
--timestep_sampling shift \
|
| 31 |
+
--discrete_flow_shift 3.1582 \
|
| 32 |
+
--model_prediction_type raw \
|
| 33 |
+
--guidance_scale 1 \
|
| 34 |
+
--loss_type l2 \
|
| 35 |
+
--enable_bucket
|