Upload folder using huggingface_hub
Browse files- .gitattributes +6 -0
- bbo-000001.safetensors +3 -0
- bbo-000002.safetensors +3 -0
- bbo-000003.safetensors +3 -0
- bbo-000004.safetensors +3 -0
- bbo-000005.safetensors +3 -0
- dataset.toml +14 -0
- sample/bbo_000500_00_20250525190015.png +3 -0
- sample/bbo_001000_00_20250525191833.png +3 -0
- sample/bbo_001500_00_20250525193651.png +3 -0
- sample/bbo_002000_00_20250525195510.png +3 -0
- sample/bbo_002500_00_20250525201329.png +3 -0
- sample/bbo_003000_00_20250525203147.png +3 -0
- sample_prompts.txt +1 -0
- train.sh +37 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,9 @@ 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/bbo_000500_00_20250525190015.png filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
sample/bbo_001000_00_20250525191833.png filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
sample/bbo_001500_00_20250525193651.png filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
sample/bbo_002000_00_20250525195510.png filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
sample/bbo_002500_00_20250525201329.png filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
sample/bbo_003000_00_20250525203147.png filter=lfs diff=lfs merge=lfs -text
|
bbo-000001.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5789a87ff343c66a7cfc7a925124be3be9c7f93a6556572e8ab80dc07076edea
|
| 3 |
+
size 39762592
|
bbo-000002.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5344290b17d6977c7fc10374c0da0e014fe49e9e4c36f208d75008097a8b4263
|
| 3 |
+
size 39762592
|
bbo-000003.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ee554b7d2210331b1b748f4cd039ef4cc72cc72b8b67aac98e20e52d97cf86db
|
| 3 |
+
size 39762592
|
bbo-000004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3f5c74d47d756a492b16d9d69205e71fe50e1fa4cee3c40e4e9d922fef0f837f
|
| 3 |
+
size 39762592
|
bbo-000005.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0bf2f807499644c50f5d0559b21cc2659155ab678c05d9bfadb21f674bf28af0
|
| 3 |
+
size 39762592
|
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 = '/workspace/fluxgym/datasets/bbo'
|
| 13 |
+
class_tokens = 'bbo'
|
| 14 |
+
num_repeats = 30
|
sample/bbo_000500_00_20250525190015.png
ADDED
|
Git LFS Details
|
sample/bbo_001000_00_20250525191833.png
ADDED
|
Git LFS Details
|
sample/bbo_001500_00_20250525193651.png
ADDED
|
Git LFS Details
|
sample/bbo_002000_00_20250525195510.png
ADDED
|
Git LFS Details
|
sample/bbo_002500_00_20250525201329.png
ADDED
|
Git LFS Details
|
sample/bbo_003000_00_20250525203147.png
ADDED
|
Git LFS Details
|
sample_prompts.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
bbo, Naked man with large erect penis posing in photo studio, bbo
|
train.sh
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 "/workspace/fluxgym/models/unet/flux1-dev.sft" \
|
| 6 |
+
--clip_l "/workspace/fluxgym/models/clip/clip_l.safetensors" \
|
| 7 |
+
--t5xxl "/workspace/fluxgym/models/clip/t5xxl_fp16.safetensors" \
|
| 8 |
+
--ae "/workspace/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="/workspace/fluxgym/outputs/bbo/sample_prompts.txt" --sample_every_n_steps="500" \
|
| 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 1 \
|
| 27 |
+
--dataset_config "/workspace/fluxgym/outputs/bbo/dataset.toml" \
|
| 28 |
+
--output_dir "/workspace/fluxgym/outputs/bbo" \
|
| 29 |
+
--output_name bbo \
|
| 30 |
+
--timestep_sampling shift \
|
| 31 |
+
--discrete_flow_shift 3.1582 \
|
| 32 |
+
--model_prediction_type raw \
|
| 33 |
+
--guidance_scale 1 \
|
| 34 |
+
--loss_type l2 \
|
| 35 |
+
--cache_latents \
|
| 36 |
+
--full_bf16 \
|
| 37 |
+
--gradient_accumulation_steps 1
|