xgemstarx commited on
Commit
0954a46
·
verified ·
1 Parent(s): f90cae4

End of training

Browse files
.gitattributes CHANGED
@@ -33,3 +33,7 @@ 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
+ image_0.png filter=lfs diff=lfs merge=lfs -text
37
+ image_1.png filter=lfs diff=lfs merge=lfs -text
38
+ image_2.png filter=lfs diff=lfs merge=lfs -text
39
+ image_3.png filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: black-forest-labs/FLUX.1-dev
3
+ library_name: diffusers
4
+ license: other
5
+ instance_prompt: a photo of sks dog
6
+ widget:
7
+ - text: A photo of sks dog in a bucket
8
+ output:
9
+ url: image_0.png
10
+ - text: A photo of sks dog in a bucket
11
+ output:
12
+ url: image_1.png
13
+ - text: A photo of sks dog in a bucket
14
+ output:
15
+ url: image_2.png
16
+ - text: A photo of sks dog in a bucket
17
+ output:
18
+ url: image_3.png
19
+ tags:
20
+ - text-to-image
21
+ - diffusers-training
22
+ - diffusers
23
+ - lora
24
+ - flux
25
+ - flux-diffusers
26
+ - template:sd-lora
27
+ ---
28
+
29
+ <!-- This model card has been generated automatically according to the information the training script had access to. You
30
+ should probably proofread and complete it, then remove this comment. -->
31
+
32
+
33
+ # Flux DreamBooth LoRA - xgemstarx/trained-flux
34
+
35
+ <Gallery />
36
+
37
+ ## Model description
38
+
39
+ These are xgemstarx/trained-flux DreamBooth LoRA weights for black-forest-labs/FLUX.1-dev.
40
+
41
+ The weights were trained using [DreamBooth](https://dreambooth.github.io/) with the [Flux diffusers trainer](https://github.com/huggingface/diffusers/blob/main/examples/dreambooth/README_flux.md).
42
+
43
+ Was LoRA for the text encoder enabled? False.
44
+
45
+ ## Trigger words
46
+
47
+ You should use `a photo of sks dog` to trigger the image generation.
48
+
49
+ ## Download model
50
+
51
+ [Download the *.safetensors LoRA](xgemstarx/trained-flux/tree/main) in the Files & versions tab.
52
+
53
+ ## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
54
+
55
+ ```py
56
+ from diffusers import AutoPipelineForText2Image
57
+ import torch
58
+ pipeline = AutoPipelineForText2Image.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16).to('cuda')
59
+ pipeline.load_lora_weights('xgemstarx/trained-flux', weight_name='pytorch_lora_weights.safetensors')
60
+ image = pipeline('A photo of sks dog in a bucket').images[0]
61
+ ```
62
+
63
+ For more details, including weighting, merging and fusing LoRAs, check the [documentation on loading LoRAs in diffusers](https://huggingface.co/docs/diffusers/main/en/using-diffusers/loading_adapters)
64
+
65
+ ## License
66
+
67
+ Please adhere to the licensing terms as described [here](https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md).
68
+
69
+
70
+ ## Intended uses & limitations
71
+
72
+ #### How to use
73
+
74
+ ```python
75
+ # TODO: add an example code snippet for running this diffusion pipeline
76
+ ```
77
+
78
+ #### Limitations and bias
79
+
80
+ [TODO: provide examples of latent issues and potential remediations]
81
+
82
+ ## Training details
83
+
84
+ [TODO: describe the data used to train the model]
checkpoint-500/optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b1d4a0a0d23bb689549d1b8c04faf68f6ecface9b8bfb5fd64162a39aaf83fd0
3
+ size 79235795
checkpoint-500/pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:21ae4f9a9fea5faef6895db4071949ca4e9603c20a6be96b6c0255b396cd624b
3
+ size 22505872
checkpoint-500/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ea4056fa4313cdb95ac012a8e8edb767d6af0cc289831b852f7918900fe70ea1
3
+ size 14757
checkpoint-500/scheduler.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d3900682bea1b95a221ce2ff178a9d6e10581809a9e5aa1ae8a8560d6a3c3df3
3
+ size 1401
image_0.png ADDED

Git LFS Details

  • SHA256: da8f77569c3822c6ff4c0f27d42de70f6e05868c180ab859acb0e2f588ea7d45
  • Pointer size: 132 Bytes
  • Size of remote file: 1.33 MB
image_1.png ADDED

Git LFS Details

  • SHA256: 2c863a54d70cb6fad3aeb0ae7f0bc04388d65cc078131e97d75e7e76a95e3c82
  • Pointer size: 132 Bytes
  • Size of remote file: 1.28 MB
image_2.png ADDED

Git LFS Details

  • SHA256: d7be3ee6171ae9f5d4f25b94f6ff50988dbc555046c13b8799e23cde80e3c2c4
  • Pointer size: 132 Bytes
  • Size of remote file: 1.33 MB
image_3.png ADDED

Git LFS Details

  • SHA256: 33abeed008a82c81a0a274746bae8854227165373a978b293cc2e204245d3a72
  • Pointer size: 132 Bytes
  • Size of remote file: 1.35 MB
logs/dreambooth-flux-dev-lora/1769646058.7533526/events.out.tfevents.1769646058.192-222-52-137.355678.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a48b90240a5d5ef5265c3c644e2a19d681d143957c3a0f28040f3881e464578c
3
+ size 3303
logs/dreambooth-flux-dev-lora/1769646058.7545862/hparams.yml ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ adam_beta1: 0.9
2
+ adam_beta2: 0.999
3
+ adam_epsilon: 1.0e-08
4
+ adam_weight_decay: 0.0001
5
+ adam_weight_decay_text_encoder: 0.001
6
+ allow_tf32: false
7
+ cache_dir: null
8
+ caption_column: null
9
+ center_crop: false
10
+ checkpointing_steps: 500
11
+ checkpoints_total_limit: null
12
+ class_data_dir: null
13
+ class_prompt: null
14
+ dataloader_num_workers: 0
15
+ dataset_config_name: null
16
+ dataset_name: null
17
+ enable_npu_flash_attention: false
18
+ gradient_accumulation_steps: 4
19
+ gradient_checkpointing: false
20
+ guidance_scale: 1.0
21
+ hub_model_id: null
22
+ hub_token: null
23
+ image_column: image
24
+ image_interpolation_mode: lanczos
25
+ instance_data_dir: dog
26
+ instance_prompt: a photo of sks dog
27
+ learning_rate: 1.0
28
+ local_rank: -1
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: 0
36
+ max_grad_norm: 1.0
37
+ max_sequence_length: 77
38
+ max_train_steps: 500
39
+ mixed_precision: bf16
40
+ mode_scale: 1.29
41
+ num_class_images: 100
42
+ num_train_epochs: 250
43
+ num_validation_images: 4
44
+ optimizer: prodigy
45
+ output_dir: trained-flux
46
+ pretrained_model_name_or_path: black-forest-labs/FLUX.1-dev
47
+ prior_generation_precision: null
48
+ prior_loss_weight: 1.0
49
+ prodigy_beta3: null
50
+ prodigy_decouple: true
51
+ prodigy_safeguard_warmup: true
52
+ prodigy_use_bias_correction: true
53
+ push_to_hub: true
54
+ random_flip: false
55
+ repeats: 1
56
+ report_to: tensorboard
57
+ resolution: 1024
58
+ resume_from_checkpoint: null
59
+ revision: null
60
+ sample_batch_size: 4
61
+ scale_lr: false
62
+ seed: 0
63
+ text_encoder_lr: 5.0e-06
64
+ train_batch_size: 1
65
+ train_text_encoder: false
66
+ use_8bit_adam: false
67
+ validation_epochs: 25
68
+ validation_prompt: A photo of sks dog in a bucket
69
+ variant: null
70
+ weighting_scheme: none
71
+ with_prior_preservation: false
logs/dreambooth-flux-dev-lora/1769646147.5781498/events.out.tfevents.1769646147.192-222-52-137.355811.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f8971a4c675acb7b2a82556369cb61bdb669e34669d1be6de3040e01adc4a988
3
+ size 3303
logs/dreambooth-flux-dev-lora/1769646147.5793717/hparams.yml ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ adam_beta1: 0.9
2
+ adam_beta2: 0.999
3
+ adam_epsilon: 1.0e-08
4
+ adam_weight_decay: 0.0001
5
+ adam_weight_decay_text_encoder: 0.001
6
+ allow_tf32: false
7
+ cache_dir: null
8
+ caption_column: null
9
+ center_crop: false
10
+ checkpointing_steps: 500
11
+ checkpoints_total_limit: null
12
+ class_data_dir: null
13
+ class_prompt: null
14
+ dataloader_num_workers: 0
15
+ dataset_config_name: null
16
+ dataset_name: null
17
+ enable_npu_flash_attention: false
18
+ gradient_accumulation_steps: 4
19
+ gradient_checkpointing: false
20
+ guidance_scale: 1.0
21
+ hub_model_id: null
22
+ hub_token: null
23
+ image_column: image
24
+ image_interpolation_mode: lanczos
25
+ instance_data_dir: dog
26
+ instance_prompt: a photo of sks dog
27
+ learning_rate: 1.0
28
+ local_rank: -1
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: 0
36
+ max_grad_norm: 1.0
37
+ max_sequence_length: 77
38
+ max_train_steps: 500
39
+ mixed_precision: bf16
40
+ mode_scale: 1.29
41
+ num_class_images: 100
42
+ num_train_epochs: 250
43
+ num_validation_images: 4
44
+ optimizer: prodigy
45
+ output_dir: trained-flux
46
+ pretrained_model_name_or_path: black-forest-labs/FLUX.1-dev
47
+ prior_generation_precision: null
48
+ prior_loss_weight: 1.0
49
+ prodigy_beta3: null
50
+ prodigy_decouple: true
51
+ prodigy_safeguard_warmup: true
52
+ prodigy_use_bias_correction: true
53
+ push_to_hub: true
54
+ random_flip: false
55
+ repeats: 1
56
+ report_to: tensorboard
57
+ resolution: 1024
58
+ resume_from_checkpoint: null
59
+ revision: null
60
+ sample_batch_size: 4
61
+ scale_lr: false
62
+ seed: 0
63
+ text_encoder_lr: 5.0e-06
64
+ train_batch_size: 1
65
+ train_text_encoder: false
66
+ use_8bit_adam: false
67
+ validation_epochs: 25
68
+ validation_prompt: A photo of sks dog in a bucket
69
+ variant: null
70
+ weighting_scheme: none
71
+ with_prior_preservation: false
logs/dreambooth-flux-dev-lora/1769647068.4661674/events.out.tfevents.1769647068.192-222-52-137.356186.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6da26279233773418d331e6e1b70b7fa56a4d2751563103973c1d6dcbfc3b8c4
3
+ size 3303
logs/dreambooth-flux-dev-lora/1769647068.4675112/hparams.yml ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ adam_beta1: 0.9
2
+ adam_beta2: 0.999
3
+ adam_epsilon: 1.0e-08
4
+ adam_weight_decay: 0.0001
5
+ adam_weight_decay_text_encoder: 0.001
6
+ allow_tf32: false
7
+ cache_dir: null
8
+ caption_column: null
9
+ center_crop: false
10
+ checkpointing_steps: 500
11
+ checkpoints_total_limit: null
12
+ class_data_dir: null
13
+ class_prompt: null
14
+ dataloader_num_workers: 0
15
+ dataset_config_name: null
16
+ dataset_name: null
17
+ enable_npu_flash_attention: false
18
+ gradient_accumulation_steps: 4
19
+ gradient_checkpointing: false
20
+ guidance_scale: 1.0
21
+ hub_model_id: null
22
+ hub_token: null
23
+ image_column: image
24
+ image_interpolation_mode: lanczos
25
+ instance_data_dir: dog
26
+ instance_prompt: a photo of sks dog
27
+ learning_rate: 1.0
28
+ local_rank: -1
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: 0
36
+ max_grad_norm: 1.0
37
+ max_sequence_length: 77
38
+ max_train_steps: 500
39
+ mixed_precision: bf16
40
+ mode_scale: 1.29
41
+ num_class_images: 100
42
+ num_train_epochs: 250
43
+ num_validation_images: 4
44
+ optimizer: prodigy
45
+ output_dir: trained-flux
46
+ pretrained_model_name_or_path: black-forest-labs/FLUX.1-dev
47
+ prior_generation_precision: null
48
+ prior_loss_weight: 1.0
49
+ prodigy_beta3: null
50
+ prodigy_decouple: true
51
+ prodigy_safeguard_warmup: true
52
+ prodigy_use_bias_correction: true
53
+ push_to_hub: true
54
+ random_flip: false
55
+ repeats: 1
56
+ report_to: tensorboard
57
+ resolution: 1024
58
+ resume_from_checkpoint: null
59
+ revision: null
60
+ sample_batch_size: 4
61
+ scale_lr: false
62
+ seed: 0
63
+ text_encoder_lr: 5.0e-06
64
+ train_batch_size: 1
65
+ train_text_encoder: false
66
+ use_8bit_adam: false
67
+ validation_epochs: 25
68
+ validation_prompt: A photo of sks dog in a bucket
69
+ variant: null
70
+ weighting_scheme: none
71
+ with_prior_preservation: false
logs/dreambooth-flux-dev-lora/1769647275.205348/events.out.tfevents.1769647275.192-222-52-137.356301.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a3b6061f384b618b38657f289819ecdf1cfd30995b185e716eb49457c4a85590
3
+ size 3457
logs/dreambooth-flux-dev-lora/1769647275.2065892/hparams.yml ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ adam_beta1: 0.9
2
+ adam_beta2: 0.999
3
+ adam_epsilon: 1.0e-08
4
+ adam_weight_decay: 0.0001
5
+ adam_weight_decay_text_encoder: 0.001
6
+ allow_tf32: false
7
+ cache_dir: null
8
+ cache_latents: false
9
+ caption_column: null
10
+ center_crop: false
11
+ checkpointing_steps: 500
12
+ checkpoints_total_limit: null
13
+ class_data_dir: null
14
+ class_prompt: null
15
+ dataloader_num_workers: 0
16
+ dataset_config_name: null
17
+ dataset_name: null
18
+ enable_npu_flash_attention: false
19
+ gradient_accumulation_steps: 4
20
+ gradient_checkpointing: false
21
+ guidance_scale: 1.0
22
+ hub_model_id: null
23
+ hub_token: null
24
+ image_column: image
25
+ instance_data_dir: dog
26
+ instance_prompt: a photo of sks dog
27
+ learning_rate: 1.0
28
+ local_rank: -1
29
+ logging_dir: logs
30
+ logit_mean: 0.0
31
+ logit_std: 1.0
32
+ lora_alpha: 4
33
+ lora_dropout: 0.0
34
+ lora_layers: null
35
+ lr_num_cycles: 1
36
+ lr_power: 1.0
37
+ lr_scheduler: constant
38
+ lr_warmup_steps: 0
39
+ max_grad_norm: 1.0
40
+ max_sequence_length: 512
41
+ max_train_steps: 500
42
+ mixed_precision: bf16
43
+ mode_scale: 1.29
44
+ num_class_images: 100
45
+ num_train_epochs: 250
46
+ num_validation_images: 4
47
+ optimizer: prodigy
48
+ output_dir: trained-flux
49
+ pretrained_model_name_or_path: black-forest-labs/FLUX.1-dev
50
+ prior_generation_precision: null
51
+ prior_loss_weight: 1.0
52
+ prodigy_beta3: null
53
+ prodigy_decouple: true
54
+ prodigy_safeguard_warmup: true
55
+ prodigy_use_bias_correction: true
56
+ push_to_hub: true
57
+ random_flip: false
58
+ rank: 4
59
+ repeats: 1
60
+ report_to: tensorboard
61
+ resolution: 1024
62
+ resume_from_checkpoint: null
63
+ revision: null
64
+ sample_batch_size: 4
65
+ scale_lr: false
66
+ seed: 0
67
+ text_encoder_lr: 5.0e-06
68
+ train_batch_size: 1
69
+ train_text_encoder: false
70
+ upcast_before_saving: false
71
+ use_8bit_adam: false
72
+ validation_epochs: 25
73
+ validation_prompt: A photo of sks dog in a bucket
74
+ variant: null
75
+ weighting_scheme: none
76
+ with_prior_preservation: false
logs/dreambooth-flux-dev-lora/events.out.tfevents.1769646058.192-222-52-137.355678.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e70de3b4149464e6bac92282d4544bb152d720f948a4cecabc4c778126c29459
3
+ size 88
logs/dreambooth-flux-dev-lora/events.out.tfevents.1769646147.192-222-52-137.355811.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f4bb1758c3141d94a4b61f49d27822e05dccba2271d67e1eb6fc0b9a7b6081e3
3
+ size 88
logs/dreambooth-flux-dev-lora/events.out.tfevents.1769647068.192-222-52-137.356186.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1301c2c8a3c40fe2bdf170a9d6614e25dc79332a8b0e9d353cc7ebe8dabdc5e4
3
+ size 88
logs/dreambooth-flux-dev-lora/events.out.tfevents.1769647275.192-222-52-137.356301.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c3d293feedb0dd5f81c4c901ef4802f1caf4a981d10ebdd8f48b20d9cd9be895
3
+ size 58890083
pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:21ae4f9a9fea5faef6895db4071949ca4e9603c20a6be96b6c0255b396cd624b
3
+ size 22505872