MarcosRodrigo commited on
Commit
1422f0b
·
verified ·
1 Parent(s): 4e67771

End of training

Browse files
README.md ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: stabilityai/stable-diffusion-3-medium-diffusers
3
+ library_name: diffusers
4
+ license: other
5
+ instance_prompt: a photo of lep
6
+ widget: []
7
+ tags:
8
+ - text-to-image
9
+ - diffusers-training
10
+ - diffusers
11
+ - lora
12
+ - template:sd-lora
13
+ - sd3
14
+ - sd3-diffusers
15
+ ---
16
+
17
+ <!-- This model card has been generated automatically according to the information the training script had access to. You
18
+ should probably proofread and complete it, then remove this comment. -->
19
+
20
+
21
+ # SD3 DreamBooth LoRA - MarcosRodrigo/lep-model
22
+
23
+ <Gallery />
24
+
25
+ ## Model description
26
+
27
+ These are MarcosRodrigo/lep-model DreamBooth LoRA weights for stabilityai/stable-diffusion-3-medium-diffusers.
28
+
29
+ The weights were trained using [DreamBooth](https://dreambooth.github.io/) with the [SD3 diffusers trainer](https://github.com/huggingface/diffusers/blob/main/examples/dreambooth/README_sd3.md).
30
+
31
+ Was LoRA for the text encoder enabled? True.
32
+
33
+ ## Trigger words
34
+
35
+ You should use `a photo of lep` to trigger the image generation.
36
+
37
+ ## Download model
38
+
39
+ [Download the *.safetensors LoRA](MarcosRodrigo/lep-model/tree/main) in the Files & versions tab.
40
+
41
+ ## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
42
+
43
+ ```py
44
+ from diffusers import AutoPipelineForText2Image
45
+ import torch
46
+ pipeline = AutoPipelineForText2Image.from_pretrained(stabilityai/stable-diffusion-3-medium-diffusers, torch_dtype=torch.float16).to('cuda')
47
+ pipeline.load_lora_weights('MarcosRodrigo/lep-model', weight_name='pytorch_lora_weights.safetensors')
48
+ image = pipeline('a photo of lep').images[0]
49
+ ```
50
+
51
+ ### Use it with UIs such as AUTOMATIC1111, Comfy UI, SD.Next, Invoke
52
+
53
+ - **LoRA**: download **[`diffusers_lora_weights.safetensors` here 💾](/MarcosRodrigo/lep-model/blob/main/diffusers_lora_weights.safetensors)**.
54
+ - Rename it and place it on your `models/Lora` folder.
55
+ - On AUTOMATIC1111, load the LoRA by adding `<lora:your_new_name:1>` to your prompt. On ComfyUI just [load it as a regular LoRA](https://comfyanonymous.github.io/ComfyUI_examples/lora/).
56
+
57
+ 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)
58
+
59
+ ## License
60
+
61
+ Please adhere to the licensing terms as described [here](https://huggingface.co/stabilityai/stable-diffusion-3-medium/blob/main/LICENSE.md).
62
+
63
+
64
+ ## Intended uses & limitations
65
+
66
+ #### How to use
67
+
68
+ ```python
69
+ # TODO: add an example code snippet for running this diffusion pipeline
70
+ ```
71
+
72
+ #### Limitations and bias
73
+
74
+ [TODO: provide examples of latent issues and potential remediations]
75
+
76
+ ## Training details
77
+
78
+ [TODO: describe the data used to train the model]
checkpoint-1000/optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1b0d348e5df55200c0a0e94cce7710f4d1bbd463dcb4febb2487a7b2aa889a65
3
+ size 443542794
checkpoint-1000/pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:16025b5298f8ccd674988869a53988b536add2ff3dc849cb479bc2204bea99d1
3
+ size 126586136
checkpoint-1000/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:01bd5065676b62512c1af21722a3163521834593eb350c7ae79f0547bd7987bf
3
+ size 14344
checkpoint-1000/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d429ed4cd663577e6db1bddce77a45af7582efae47c8604189b4b810b1ba9916
3
+ size 988
checkpoint-1000/scheduler.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ee8dcb56317957d801a58b9455ac4376659ae492d04fd961cb39e9d12726c6ab
3
+ size 1064
checkpoint-1500/optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fa594d6d27731ee8b6dc3b5c26b9a95f4bdb3099f8ad4803fea51917d8d2320e
3
+ size 443542794
checkpoint-1500/pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c5dce5034129452c836c1eee82efa97ac5198821835c0defaa97cc2b8915c2a1
3
+ size 126586136
checkpoint-1500/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5300d9aa2e02f67250aa1d4af2471b606c8174219c37c1be82dfd1814db1caa2
3
+ size 14344
checkpoint-1500/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:760ead0d0d2d59e83dd4538ae1c62cdce4851e0d7ef1d64db490123cd4c7c8aa
3
+ size 988
checkpoint-1500/scheduler.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:541258889dd9f5f5b0f0b4ac249b9bc7541fbd559e91e207f9cfc5e1b9ba860b
3
+ size 1064
checkpoint-500/optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:525d324201ccf2c029ef7e19b57ab28ff6428f564a23c8858cf7c333ad1e0a85
3
+ size 443542794
checkpoint-500/pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b6f8cfb59b9f7cec0062716c114c8eacc322e3dec68502605cf02c15dc0cb8a2
3
+ size 126586136
checkpoint-500/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2a318ace2707025987c4bf01b29a03cd2ef0c436d31bd0cdaf84247717990324
3
+ size 14344
checkpoint-500/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:952d7c9abac080d1c9b4b28b0903710076ce9a90d2da76084b43dbebde355917
3
+ size 988
checkpoint-500/scheduler.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0cd5eae45f8a15363afea7ba735861497225134c87b5a26606e981986d70a70b
3
+ size 1064
logs/dreambooth-sd3-lora/1739196469.96637/events.out.tfevents.1739196469.atenea.2718466.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5126694e9363e65eba818ba025c9b5aa889d1f1c65de4ef70de5d54288932126
3
+ size 3266
logs/dreambooth-sd3-lora/1739196469.967274/hparams.yml ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ gradient_accumulation_steps: 1
19
+ gradient_checkpointing: false
20
+ hub_model_id: null
21
+ hub_token: null
22
+ image_column: image
23
+ instance_data_dir: /mnt/Data/mrt/lep
24
+ instance_prompt: a photo of lep
25
+ learning_rate: 1.0
26
+ local_rank: 0
27
+ logging_dir: logs
28
+ logit_mean: 0.0
29
+ logit_std: 1.0
30
+ lora_blocks: null
31
+ lora_layers: null
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: 1500
39
+ mixed_precision: fp16
40
+ mode_scale: 1.29
41
+ num_class_images: 100
42
+ num_train_epochs: 188
43
+ num_validation_images: 4
44
+ optimizer: prodigy
45
+ output_dir: lep-model
46
+ precondition_outputs: 1
47
+ pretrained_model_name_or_path: stabilityai/stable-diffusion-3-medium-diffusers
48
+ prior_generation_precision: null
49
+ prior_loss_weight: 1.0
50
+ prodigy_beta3: null
51
+ prodigy_decouple: true
52
+ prodigy_safeguard_warmup: true
53
+ prodigy_use_bias_correction: true
54
+ push_to_hub: true
55
+ random_flip: false
56
+ rank: 32
57
+ repeats: 1
58
+ report_to: tensorboard
59
+ resolution: 1024
60
+ resume_from_checkpoint: null
61
+ revision: null
62
+ sample_batch_size: 4
63
+ scale_lr: false
64
+ seed: 0
65
+ text_encoder_lr: 1.0
66
+ train_batch_size: 1
67
+ train_text_encoder: true
68
+ upcast_before_saving: false
69
+ use_8bit_adam: false
70
+ validation_epochs: 50
71
+ validation_prompt: null
72
+ variant: null
73
+ weighting_scheme: logit_normal
74
+ with_prior_preservation: false
logs/dreambooth-sd3-lora/1739196520.3937376/events.out.tfevents.1739196520.atenea.2718936.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ac7a36f597ef0415d61c33d932369ab3e94f280b5c126f6ebc9bb989f0800511
3
+ size 3266
logs/dreambooth-sd3-lora/1739196520.3946385/hparams.yml ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ gradient_accumulation_steps: 1
19
+ gradient_checkpointing: false
20
+ hub_model_id: null
21
+ hub_token: null
22
+ image_column: image
23
+ instance_data_dir: /mnt/Data/mrt/lep
24
+ instance_prompt: a photo of lep
25
+ learning_rate: 1.0
26
+ local_rank: -1
27
+ logging_dir: logs
28
+ logit_mean: 0.0
29
+ logit_std: 1.0
30
+ lora_blocks: null
31
+ lora_layers: null
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: 1500
39
+ mixed_precision: fp16
40
+ mode_scale: 1.29
41
+ num_class_images: 100
42
+ num_train_epochs: 100
43
+ num_validation_images: 4
44
+ optimizer: prodigy
45
+ output_dir: lep-model
46
+ precondition_outputs: 1
47
+ pretrained_model_name_or_path: stabilityai/stable-diffusion-3-medium-diffusers
48
+ prior_generation_precision: null
49
+ prior_loss_weight: 1.0
50
+ prodigy_beta3: null
51
+ prodigy_decouple: true
52
+ prodigy_safeguard_warmup: true
53
+ prodigy_use_bias_correction: true
54
+ push_to_hub: true
55
+ random_flip: false
56
+ rank: 32
57
+ repeats: 1
58
+ report_to: tensorboard
59
+ resolution: 1024
60
+ resume_from_checkpoint: null
61
+ revision: null
62
+ sample_batch_size: 4
63
+ scale_lr: false
64
+ seed: 0
65
+ text_encoder_lr: 1.0
66
+ train_batch_size: 1
67
+ train_text_encoder: true
68
+ upcast_before_saving: false
69
+ use_8bit_adam: false
70
+ validation_epochs: 50
71
+ validation_prompt: null
72
+ variant: null
73
+ weighting_scheme: logit_normal
74
+ with_prior_preservation: false
logs/dreambooth-sd3-lora/1739197081.2585495/events.out.tfevents.1739197081.atenea.2722003.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c9625b4326c11c7743a25eef8df6a84f082c3ad238aec5df87922023b4940fed
3
+ size 3266
logs/dreambooth-sd3-lora/1739197081.2592967/hparams.yml ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ gradient_accumulation_steps: 1
19
+ gradient_checkpointing: false
20
+ hub_model_id: null
21
+ hub_token: null
22
+ image_column: image
23
+ instance_data_dir: /mnt/Data/mrt/lep
24
+ instance_prompt: a photo of lep
25
+ learning_rate: 1.0
26
+ local_rank: -1
27
+ logging_dir: logs
28
+ logit_mean: 0.0
29
+ logit_std: 1.0
30
+ lora_blocks: null
31
+ lora_layers: null
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: 1500
39
+ mixed_precision: fp16
40
+ mode_scale: 1.29
41
+ num_class_images: 100
42
+ num_train_epochs: 100
43
+ num_validation_images: 4
44
+ optimizer: prodigy
45
+ output_dir: lep-model
46
+ precondition_outputs: 1
47
+ pretrained_model_name_or_path: stabilityai/stable-diffusion-3-medium-diffusers
48
+ prior_generation_precision: null
49
+ prior_loss_weight: 1.0
50
+ prodigy_beta3: null
51
+ prodigy_decouple: true
52
+ prodigy_safeguard_warmup: true
53
+ prodigy_use_bias_correction: true
54
+ push_to_hub: true
55
+ random_flip: false
56
+ rank: 32
57
+ repeats: 1
58
+ report_to: tensorboard
59
+ resolution: 1024
60
+ resume_from_checkpoint: null
61
+ revision: null
62
+ sample_batch_size: 4
63
+ scale_lr: false
64
+ seed: 0
65
+ text_encoder_lr: 1.0
66
+ train_batch_size: 1
67
+ train_text_encoder: true
68
+ upcast_before_saving: false
69
+ use_8bit_adam: false
70
+ validation_epochs: 50
71
+ validation_prompt: null
72
+ variant: null
73
+ weighting_scheme: logit_normal
74
+ with_prior_preservation: false
logs/dreambooth-sd3-lora/events.out.tfevents.1739196469.atenea.2718466.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3bff237dfb777c6aca40cacdcf40d244d6710e8be7c046eba8748e1298d5cc12
3
+ size 88
logs/dreambooth-sd3-lora/events.out.tfevents.1739196520.atenea.2718936.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0a67eeeda80c930f00672435f52e2819b3c70d392648a9c2d6fbc37b34c3ea63
3
+ size 97694
logs/dreambooth-sd3-lora/events.out.tfevents.1739197081.atenea.2722003.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8df2455e709e62f704f44212b58c19ff4e908a73ccc93ba47c73fbea2771e36f
3
+ size 125834
pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ea35da2749e74c486ffe302d31913e708f14e6ba289bcf6088cc24b18b04cc48
3
+ size 89033736