tommycik commited on
Commit
362d6dd
·
verified ·
1 Parent(s): bf7ceb4

End of training

Browse files
.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/controlFluxAlcolReduced
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
+ ![images_0)](./images_0.png)
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,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "FluxControlNetModel",
3
+ "_diffusers_version": "0.35.0.dev0",
4
+ "_name_or_path": "InstantX/FLUX.1-dev-Controlnet-Canny",
5
+ "attention_head_dim": 128,
6
+ "axes_dims_rope": [
7
+ 16,
8
+ 56,
9
+ 56
10
+ ],
11
+ "conditioning_embedding_channels": null,
12
+ "guidance_embeds": true,
13
+ "in_channels": 64,
14
+ "joint_attention_dim": 4096,
15
+ "num_attention_heads": 24,
16
+ "num_layers": 5,
17
+ "num_mode": null,
18
+ "num_single_layers": 0,
19
+ "patch_size": 1,
20
+ "pooled_projection_dim": 768,
21
+ "quantization_config": {
22
+ "_load_in_4bit": true,
23
+ "_load_in_8bit": false,
24
+ "bnb_4bit_compute_dtype": "float16",
25
+ "bnb_4bit_quant_storage": "uint8",
26
+ "bnb_4bit_quant_type": "fp4",
27
+ "bnb_4bit_use_double_quant": false,
28
+ "llm_int8_enable_fp32_cpu_offload": false,
29
+ "llm_int8_has_fp16_weight": false,
30
+ "llm_int8_skip_modules": null,
31
+ "llm_int8_threshold": 6.0,
32
+ "load_in_4bit": true,
33
+ "load_in_8bit": false,
34
+ "quant_method": "bitsandbytes"
35
+ }
36
+ }
diffusion_pytorch_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0c65d7d39c5dfd7ff38bca97c5452244265e0a203e9a3e6c22b11f41e1c2e30c
3
+ size 1009578051
image_control.png ADDED
images_0.png ADDED

Git LFS Details

  • SHA256: f326fea43b7e635cc0a59873716f8182f8acccc560307a674d0cf3477729300d
  • Pointer size: 132 Bytes
  • Size of remote file: 1.21 MB
logs/flux_train_controlnet/1753520462.6242762/events.out.tfevents.1753520462.104-171-203-234.4273.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cbc6e058d156aa8cd02e7820e3a8dfc80709664b522b542529de03a907f13fa4
3
+ size 3305
logs/flux_train_controlnet/1753520462.627587/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: InstantX/FLUX.1-dev-Controlnet-Canny
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/controlFluxAlcolReduced
24
+ hub_token: null
25
+ image_column: image
26
+ image_interpolation_mode: lanczos
27
+ jsonl_for_train: ./controlnet_dataset/dataset.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: fp16
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/1753520943.2647455/events.out.tfevents.1753520943.104-171-203-234.4426.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:680273e5b40ca5e159fb7a3a2d546894f638b6e0a971df9bf43de7d7d7823616
3
+ size 3305
logs/flux_train_controlnet/1753520943.2681034/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: InstantX/FLUX.1-dev-Controlnet-Canny
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/controlFluxAlcolReduced
24
+ hub_token: null
25
+ image_column: image
26
+ image_interpolation_mode: lanczos
27
+ jsonl_for_train: ./controlnet_dataset/dataset.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: fp16
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/1753521834.453419/events.out.tfevents.1753521834.104-171-203-234.4905.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:56e0ae5384df418d90e754f35209858c2a589f8f151d2e3d4e23c952d3c2f124
3
+ size 3303
logs/flux_train_controlnet/1753521834.4567292/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: InstantX/FLUX.1-dev-Controlnet-Canny
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/controlFluxAlcolReduced
24
+ hub_token: null
25
+ image_column: image
26
+ image_interpolation_mode: lanczos
27
+ jsonl_for_train: ./controlnet_dataset/dataset.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: 'no'
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/1753522243.5841796/events.out.tfevents.1753522243.104-171-203-234.5096.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a40c07ee890ac118eb16004db1e51f3ac79f8b9a87285535ff05dd3a4722814c
3
+ size 3303
logs/flux_train_controlnet/1753522243.587617/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: InstantX/FLUX.1-dev-Controlnet-Canny
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/controlFluxAlcolReduced
24
+ hub_token: null
25
+ image_column: image
26
+ image_interpolation_mode: lanczos
27
+ jsonl_for_train: ./controlnet_dataset/dataset.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: 'no'
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.1753520462.104-171-203-234.4273.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:13e716166168cc899e49510db4ca1d58c3cbbb812b4e38371125257513bd360f
3
+ size 88
logs/flux_train_controlnet/events.out.tfevents.1753520943.104-171-203-234.4426.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e6aba9309b831d2ef641b1bc9b03e10975d6138ed0aa9acb4bb9c869d8dc63b1
3
+ size 88
logs/flux_train_controlnet/events.out.tfevents.1753521834.104-171-203-234.4905.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fdd765fae71f46944e1f9ea8ad2da76c35315145a34b7eca706869db31294318
3
+ size 252
logs/flux_train_controlnet/events.out.tfevents.1753522243.104-171-203-234.5096.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0accedcfbabf189b92c6f2626381b30d40a6e4bafb899cc6949498b46f01eba8
3
+ size 1208421