Upload folder using huggingface_hub
Browse files- .gitattributes +6 -0
- assets/comfyui.png +3 -0
- assets/flux-text.png +3 -0
- assets/gradio_1.png +3 -0
- assets/gradio_2.png +3 -0
- assets/hint.png +0 -0
- assets/hint1.png +0 -0
- assets/hint2.png +0 -0
- assets/hint_imgs.jpg +0 -0
- assets/hint_imgs1.jpg +0 -0
- assets/hint_imgs2.jpg +0 -0
- assets/hint_imgs_word.png +0 -0
- assets/hint_imgs_word1.png +0 -0
- assets/hint_imgs_word2.png +0 -0
- assets/method.png +3 -0
- assets/method_result.png +3 -0
- epoch_100.pt +3 -0
- model_512/config.yaml +46 -0
- model_512/pytorch_lora_weights.safetensors +3 -0
- model_multisize/config.yaml +59 -0
- model_multisize/pytorch_lora_weights.safetensors +3 -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 |
+
assets/comfyui.png filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
assets/flux-text.png filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
assets/gradio_1.png filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
assets/gradio_2.png filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
assets/method.png filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
assets/method_result.png filter=lfs diff=lfs merge=lfs -text
|
assets/comfyui.png
ADDED
|
Git LFS Details
|
assets/flux-text.png
ADDED
|
Git LFS Details
|
assets/gradio_1.png
ADDED
|
Git LFS Details
|
assets/gradio_2.png
ADDED
|
Git LFS Details
|
assets/hint.png
ADDED
|
assets/hint1.png
ADDED
|
assets/hint2.png
ADDED
|
assets/hint_imgs.jpg
ADDED
|
assets/hint_imgs1.jpg
ADDED
|
assets/hint_imgs2.jpg
ADDED
|
assets/hint_imgs_word.png
ADDED
|
assets/hint_imgs_word1.png
ADDED
|
assets/hint_imgs_word2.png
ADDED
|
assets/method.png
ADDED
|
Git LFS Details
|
assets/method_result.png
ADDED
|
Git LFS Details
|
epoch_100.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a7e329c97cae19e4fd3ad1b5867036952477dd09e53b90f39b2c68b100060156
|
| 3 |
+
size 709732641
|
model_512/config.yaml
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
dtype: bfloat16
|
| 2 |
+
flux_path: black-forest-labs/FLUX.1-Fill-dev
|
| 3 |
+
model:
|
| 4 |
+
add_cond_attn: false
|
| 5 |
+
latent_lora: false
|
| 6 |
+
union_cond_attn: true
|
| 7 |
+
model_type: flux_fill
|
| 8 |
+
train:
|
| 9 |
+
accumulate_grad_batches: 2
|
| 10 |
+
batch_size: 8
|
| 11 |
+
condition_type: word_fill
|
| 12 |
+
dataloader_workers: 4
|
| 13 |
+
dataset:
|
| 14 |
+
condition_size: 512
|
| 15 |
+
drop_image_prob: 0.1
|
| 16 |
+
drop_text_prob: 0.1
|
| 17 |
+
image_size: 512
|
| 18 |
+
padding: 8
|
| 19 |
+
target_size: 512
|
| 20 |
+
type: word
|
| 21 |
+
gradient_checkpointing: true
|
| 22 |
+
lora_config:
|
| 23 |
+
init_lora_weights: gaussian
|
| 24 |
+
lora_alpha: 256
|
| 25 |
+
r: 256
|
| 26 |
+
target_modules: (.*x_embedder|.*(?<!single_)transformer_blocks\.[0-9]+\.norm1\.linear|.*(?<!single_)transformer_blocks\.[0-9]+\.attn\.to_k|.*(?<!single_)transformer_blocks\.[0-9]+\.attn\.to_q|.*(?<!single_)transformer_blocks\.[0-9]+\.attn\.to_v|.*(?<!single_)transformer_blocks\.[0-9]+\.attn\.to_out\.0|.*(?<!single_)transformer_blocks\.[0-9]+\.ff\.net\.2|.*single_transformer_blocks\.[0-9]+\.norm\.linear|.*single_transformer_blocks\.[0-9]+\.proj_mlp|.*single_transformer_blocks\.[0-9]+\.proj_out|.*single_transformer_blocks\.[0-9]+\.attn.to_k|.*single_transformer_blocks\.[0-9]+\.attn.to_q|.*single_transformer_blocks\.[0-9]+\.attn.to_v|.*single_transformer_blocks\.[0-9]+\.attn.to_out)
|
| 27 |
+
max_steps: -1
|
| 28 |
+
odm_loss:
|
| 29 |
+
input_resolution: 512
|
| 30 |
+
modelpath: epoch_100.pt
|
| 31 |
+
w_loss_1: 30
|
| 32 |
+
w_loss_2: 30
|
| 33 |
+
w_loss_3: 30
|
| 34 |
+
w_loss_4: 30
|
| 35 |
+
w_loss_f: 1
|
| 36 |
+
optimizer:
|
| 37 |
+
params:
|
| 38 |
+
lr: 1
|
| 39 |
+
safeguard_warmup: true
|
| 40 |
+
use_bias_correction: true
|
| 41 |
+
weight_decay: 0.01
|
| 42 |
+
type: Prodigy
|
| 43 |
+
reuse_lora_path: reuse.safetensors
|
| 44 |
+
sample_interval: 2000
|
| 45 |
+
save_interval: 1000
|
| 46 |
+
save_path: output_dir
|
model_512/pytorch_lora_weights.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fa64171deccf048f402a572fc6682c0c6cce7c5c462b559093cb906912e67d98
|
| 3 |
+
size 1854698344
|
model_multisize/config.yaml
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
dtype: bfloat16
|
| 2 |
+
flux_path: black-forest-labs/FLUX.1-Fill-dev
|
| 3 |
+
model:
|
| 4 |
+
add_cond_attn: false
|
| 5 |
+
attn_mask: false
|
| 6 |
+
latent_lora: false
|
| 7 |
+
mask_para:
|
| 8 |
+
base_ratio: 0.6
|
| 9 |
+
union_cond_attn: true
|
| 10 |
+
use_byt5_mask: false
|
| 11 |
+
model_type: flux_fill
|
| 12 |
+
train:
|
| 13 |
+
accumulate_grad_batches: 4
|
| 14 |
+
bucket_config:
|
| 15 |
+
1024px:
|
| 16 |
+
1:
|
| 17 |
+
- 1.0
|
| 18 |
+
- 2
|
| 19 |
+
512px:
|
| 20 |
+
1:
|
| 21 |
+
- 1.0
|
| 22 |
+
- 8
|
| 23 |
+
768px:
|
| 24 |
+
1:
|
| 25 |
+
- 1.0
|
| 26 |
+
- 4
|
| 27 |
+
condition_type: word_fill
|
| 28 |
+
dataloader_workers: 5
|
| 29 |
+
dataset:
|
| 30 |
+
drop_image_prob: 0.1
|
| 31 |
+
drop_text_prob: 0.1
|
| 32 |
+
glyph_scale: 1
|
| 33 |
+
random_select: true
|
| 34 |
+
type: word
|
| 35 |
+
gradient_checkpointing: true
|
| 36 |
+
lora_config:
|
| 37 |
+
init_lora_weights: gaussian
|
| 38 |
+
lora_alpha: 256
|
| 39 |
+
r: 256
|
| 40 |
+
target_modules: (.*x_embedder|.*(?<!single_)transformer_blocks\.[0-9]+\.norm1\.linear|.*(?<!single_)transformer_blocks\.[0-9]+\.attn\.to_k|.*(?<!single_)transformer_blocks\.[0-9]+\.attn\.to_q|.*(?<!single_)transformer_blocks\.[0-9]+\.attn\.to_v|.*(?<!single_)transformer_blocks\.[0-9]+\.attn\.to_out\.0|.*(?<!single_)transformer_blocks\.[0-9]+\.ff\.net\.2|.*single_transformer_blocks\.[0-9]+\.norm\.linear|.*single_transformer_blocks\.[0-9]+\.proj_mlp|.*single_transformer_blocks\.[0-9]+\.proj_out|.*single_transformer_blocks\.[0-9]+\.attn.to_k|.*single_transformer_blocks\.[0-9]+\.attn.to_q|.*single_transformer_blocks\.[0-9]+\.attn.to_v|.*single_transformer_blocks\.[0-9]+\.attn.to_out)
|
| 41 |
+
max_steps: -1
|
| 42 |
+
odm_loss:
|
| 43 |
+
modelpath: epoch_100.pt
|
| 44 |
+
w_loss_1: 20
|
| 45 |
+
w_loss_2: 20
|
| 46 |
+
w_loss_3: 20
|
| 47 |
+
w_loss_4: 20
|
| 48 |
+
w_loss_f: 1
|
| 49 |
+
optimizer:
|
| 50 |
+
params:
|
| 51 |
+
lr: 1
|
| 52 |
+
safeguard_warmup: true
|
| 53 |
+
use_bias_correction: true
|
| 54 |
+
weight_decay: 0.01
|
| 55 |
+
type: Prodigy
|
| 56 |
+
reuse_lora_path: reuse.safetensors
|
| 57 |
+
sample_interval: 2000
|
| 58 |
+
save_interval: 1000
|
| 59 |
+
save_path: output_dir
|
model_multisize/pytorch_lora_weights.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2b92c90b4b5f0c63951f24089b454a5abb3b90cd99b49c89461f9bf92605358d
|
| 3 |
+
size 1854698344
|