End of training
Browse files- .gitattributes +1 -0
- README.md +47 -0
- config.json +21 -0
- diffusion_pytorch_model.safetensors +3 -0
- image_control.png +0 -0
- images_0.png +3 -0
- logs/flux_train_controlnet/1753533544.3290417/events.out.tfevents.1753533544.209-20-159-108.3611.1 +3 -0
- logs/flux_train_controlnet/1753533544.3325129/hparams.yml +65 -0
- logs/flux_train_controlnet/1753534822.9937034/events.out.tfevents.1753534822.209-20-159-108.3990.1 +3 -0
- logs/flux_train_controlnet/1753534822.9968803/hparams.yml +65 -0
- logs/flux_train_controlnet/events.out.tfevents.1753533544.209-20-159-108.3611.0 +3 -0
- logs/flux_train_controlnet/events.out.tfevents.1753534822.209-20-159-108.3990.0 +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ 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 |
+
images_0.png filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: black-forest-labs/FLUX.1-dev
|
| 3 |
+
library_name: diffusers
|
| 4 |
+
license: other
|
| 5 |
+
inference: true
|
| 6 |
+
tags:
|
| 7 |
+
- flux
|
| 8 |
+
- flux-diffusers
|
| 9 |
+
- text-to-image
|
| 10 |
+
- diffusers
|
| 11 |
+
- controlnet
|
| 12 |
+
- diffusers-training
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
<!-- This model card has been generated automatically according to the information the training script had access to. You
|
| 16 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
# controlnet-tommycik/controlFluxAlcolHed
|
| 20 |
+
|
| 21 |
+
These are controlnet weights trained on black-forest-labs/FLUX.1-dev with new type of conditioning.
|
| 22 |
+
You can find some example images below.
|
| 23 |
+
|
| 24 |
+
prompt: transparent glass on white background, the bottom part of the glass presents light grooves
|
| 25 |
+

|
| 26 |
+
|
| 27 |
+
|
| 28 |
+
## License
|
| 29 |
+
|
| 30 |
+
Please adhere to the licensing terms as described [here](https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md)
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
## Intended uses & limitations
|
| 34 |
+
|
| 35 |
+
#### How to use
|
| 36 |
+
|
| 37 |
+
```python
|
| 38 |
+
# TODO: add an example code snippet for running this diffusion pipeline
|
| 39 |
+
```
|
| 40 |
+
|
| 41 |
+
#### Limitations and bias
|
| 42 |
+
|
| 43 |
+
[TODO: provide examples of latent issues and potential remediations]
|
| 44 |
+
|
| 45 |
+
## Training details
|
| 46 |
+
|
| 47 |
+
[TODO: describe the data used to train the model]
|
config.json
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "FluxControlNetModel",
|
| 3 |
+
"_diffusers_version": "0.35.0.dev0",
|
| 4 |
+
"_name_or_path": "Xlabs-AI/flux-controlnet-hed-diffusers",
|
| 5 |
+
"attention_head_dim": 128,
|
| 6 |
+
"axes_dims_rope": [
|
| 7 |
+
16,
|
| 8 |
+
56,
|
| 9 |
+
56
|
| 10 |
+
],
|
| 11 |
+
"conditioning_embedding_channels": 16,
|
| 12 |
+
"guidance_embeds": true,
|
| 13 |
+
"in_channels": 64,
|
| 14 |
+
"joint_attention_dim": 4096,
|
| 15 |
+
"num_attention_heads": 24,
|
| 16 |
+
"num_layers": 2,
|
| 17 |
+
"num_mode": null,
|
| 18 |
+
"num_single_layers": 0,
|
| 19 |
+
"patch_size": 2,
|
| 20 |
+
"pooled_projection_dim": 768
|
| 21 |
+
}
|
diffusion_pytorch_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fa9a4fa5d438736edb8e1509408d10716040ea22d5e1f4903191530beb8e221e
|
| 3 |
+
size 2975240576
|
image_control.png
ADDED
|
images_0.png
ADDED
|
Git LFS Details
|
logs/flux_train_controlnet/1753533544.3290417/events.out.tfevents.1753533544.209-20-159-108.3611.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8712481e1ba0a3210f77d87a0895c499c99f7e5fa38062d8aa92b5c9a2782c79
|
| 3 |
+
size 3307
|
logs/flux_train_controlnet/1753533544.3325129/hparams.yml
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
adam_beta1: 0.9
|
| 2 |
+
adam_beta2: 0.999
|
| 3 |
+
adam_epsilon: 1.0e-08
|
| 4 |
+
adam_weight_decay: 0.01
|
| 5 |
+
allow_tf32: false
|
| 6 |
+
cache_dir: null
|
| 7 |
+
caption_column: prompt
|
| 8 |
+
checkpointing_steps: 250
|
| 9 |
+
checkpoints_total_limit: null
|
| 10 |
+
conditioning_image_column: condition_image
|
| 11 |
+
controlnet_model_name_or_path: Xlabs-AI/flux-controlnet-hed-diffusers
|
| 12 |
+
crops_coords_top_left_h: 0
|
| 13 |
+
crops_coords_top_left_w: 0
|
| 14 |
+
dataloader_num_workers: 0
|
| 15 |
+
dataset_config_name: null
|
| 16 |
+
dataset_name: null
|
| 17 |
+
enable_model_cpu_offload: false
|
| 18 |
+
enable_npu_flash_attention: false
|
| 19 |
+
enable_xformers_memory_efficient_attention: false
|
| 20 |
+
gradient_accumulation_steps: 1
|
| 21 |
+
gradient_checkpointing: true
|
| 22 |
+
guidance_scale: 3.5
|
| 23 |
+
hub_model_id: tommycik/controlFluxAlcolHed
|
| 24 |
+
hub_token: null
|
| 25 |
+
image_column: image
|
| 26 |
+
image_interpolation_mode: lanczos
|
| 27 |
+
jsonl_for_train: ./controlnet_dataset/dataset_hed.jsonl
|
| 28 |
+
learning_rate: 2.0e-06
|
| 29 |
+
logging_dir: logs
|
| 30 |
+
logit_mean: 0.0
|
| 31 |
+
logit_std: 1.0
|
| 32 |
+
lr_num_cycles: 1
|
| 33 |
+
lr_power: 1.0
|
| 34 |
+
lr_scheduler: constant
|
| 35 |
+
lr_warmup_steps: 500
|
| 36 |
+
max_grad_norm: 1.0
|
| 37 |
+
max_train_samples: null
|
| 38 |
+
max_train_steps: 2
|
| 39 |
+
mixed_precision: bf16
|
| 40 |
+
mode_scale: 1.29
|
| 41 |
+
num_double_layers: 4
|
| 42 |
+
num_single_layers: 4
|
| 43 |
+
num_train_epochs: 1
|
| 44 |
+
num_validation_images: 2
|
| 45 |
+
output_dir: model
|
| 46 |
+
pretrained_model_name_or_path: black-forest-labs/FLUX.1-dev
|
| 47 |
+
pretrained_vae_model_name_or_path: null
|
| 48 |
+
proportion_empty_prompts: 0
|
| 49 |
+
push_to_hub: true
|
| 50 |
+
report_to: tensorboard
|
| 51 |
+
resolution: 512
|
| 52 |
+
resume_from_checkpoint: null
|
| 53 |
+
revision: null
|
| 54 |
+
save_weight_dtype: fp32
|
| 55 |
+
scale_lr: false
|
| 56 |
+
seed: null
|
| 57 |
+
set_grads_to_none: true
|
| 58 |
+
tokenizer_name: null
|
| 59 |
+
tracker_project_name: flux_train_controlnet
|
| 60 |
+
train_batch_size: 1
|
| 61 |
+
use_8bit_adam: true
|
| 62 |
+
use_adafactor: false
|
| 63 |
+
validation_steps: 125
|
| 64 |
+
variant: null
|
| 65 |
+
weighting_scheme: logit_normal
|
logs/flux_train_controlnet/1753534822.9937034/events.out.tfevents.1753534822.209-20-159-108.3990.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:16a1a6dc8c3533f5b6bac6ba6c13849baac31b9dbeb355eedf9667239c8612a1
|
| 3 |
+
size 3307
|
logs/flux_train_controlnet/1753534822.9968803/hparams.yml
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
adam_beta1: 0.9
|
| 2 |
+
adam_beta2: 0.999
|
| 3 |
+
adam_epsilon: 1.0e-08
|
| 4 |
+
adam_weight_decay: 0.01
|
| 5 |
+
allow_tf32: false
|
| 6 |
+
cache_dir: null
|
| 7 |
+
caption_column: prompt
|
| 8 |
+
checkpointing_steps: 250
|
| 9 |
+
checkpoints_total_limit: null
|
| 10 |
+
conditioning_image_column: condition_image
|
| 11 |
+
controlnet_model_name_or_path: Xlabs-AI/flux-controlnet-hed-diffusers
|
| 12 |
+
crops_coords_top_left_h: 0
|
| 13 |
+
crops_coords_top_left_w: 0
|
| 14 |
+
dataloader_num_workers: 0
|
| 15 |
+
dataset_config_name: null
|
| 16 |
+
dataset_name: null
|
| 17 |
+
enable_model_cpu_offload: false
|
| 18 |
+
enable_npu_flash_attention: false
|
| 19 |
+
enable_xformers_memory_efficient_attention: false
|
| 20 |
+
gradient_accumulation_steps: 1
|
| 21 |
+
gradient_checkpointing: true
|
| 22 |
+
guidance_scale: 3.5
|
| 23 |
+
hub_model_id: tommycik/controlFluxAlcolHed
|
| 24 |
+
hub_token: null
|
| 25 |
+
image_column: image
|
| 26 |
+
image_interpolation_mode: lanczos
|
| 27 |
+
jsonl_for_train: ./controlnet_dataset/dataset_hed.jsonl
|
| 28 |
+
learning_rate: 2.0e-06
|
| 29 |
+
logging_dir: logs
|
| 30 |
+
logit_mean: 0.0
|
| 31 |
+
logit_std: 1.0
|
| 32 |
+
lr_num_cycles: 1
|
| 33 |
+
lr_power: 1.0
|
| 34 |
+
lr_scheduler: constant
|
| 35 |
+
lr_warmup_steps: 500
|
| 36 |
+
max_grad_norm: 1.0
|
| 37 |
+
max_train_samples: null
|
| 38 |
+
max_train_steps: 2
|
| 39 |
+
mixed_precision: bf16
|
| 40 |
+
mode_scale: 1.29
|
| 41 |
+
num_double_layers: 4
|
| 42 |
+
num_single_layers: 4
|
| 43 |
+
num_train_epochs: 1
|
| 44 |
+
num_validation_images: 2
|
| 45 |
+
output_dir: model
|
| 46 |
+
pretrained_model_name_or_path: black-forest-labs/FLUX.1-dev
|
| 47 |
+
pretrained_vae_model_name_or_path: null
|
| 48 |
+
proportion_empty_prompts: 0
|
| 49 |
+
push_to_hub: true
|
| 50 |
+
report_to: tensorboard
|
| 51 |
+
resolution: 512
|
| 52 |
+
resume_from_checkpoint: null
|
| 53 |
+
revision: null
|
| 54 |
+
save_weight_dtype: fp32
|
| 55 |
+
scale_lr: false
|
| 56 |
+
seed: null
|
| 57 |
+
set_grads_to_none: true
|
| 58 |
+
tokenizer_name: null
|
| 59 |
+
tracker_project_name: flux_train_controlnet
|
| 60 |
+
train_batch_size: 1
|
| 61 |
+
use_8bit_adam: true
|
| 62 |
+
use_adafactor: false
|
| 63 |
+
validation_steps: 125
|
| 64 |
+
variant: null
|
| 65 |
+
weighting_scheme: logit_normal
|
logs/flux_train_controlnet/events.out.tfevents.1753533544.209-20-159-108.3611.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ab9c4b9f83b0421b974d4c3f04decabbde1dfacd7923b209b7830a8cccb83ab7
|
| 3 |
+
size 88
|
logs/flux_train_controlnet/events.out.tfevents.1753534822.209-20-159-108.3990.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:265a49e9a9a39e35f91d111f334fd57c9358932a6b16c7370469e91cff13ccf3
|
| 3 |
+
size 1303008
|