rdeinla commited on
Commit
838edef
·
verified ·
1 Parent(s): a196e77

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,99 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: stabilityai/stable-diffusion-3-medium-diffusers
3
+ library_name: diffusers
4
+ license: other
5
+ instance_prompt: a photo of a young canola plant that is about 20 days old. It has
6
+ five leaves that are starting to develop
7
+ widget:
8
+ - text: A photo of a young canola plant, about 20 to 29 days old with five developing
9
+ leaves. It is growing in dark, nutrient-rich soil. It is contained within a smooth,
10
+ bright blue cylindrical cup on a bright blue background
11
+ output:
12
+ url: image_0.png
13
+ - text: A photo of a young canola plant, about 20 to 29 days old with five developing
14
+ leaves. It is growing in dark, nutrient-rich soil. It is contained within a smooth,
15
+ bright blue cylindrical cup on a bright blue background
16
+ output:
17
+ url: image_1.png
18
+ - text: A photo of a young canola plant, about 20 to 29 days old with five developing
19
+ leaves. It is growing in dark, nutrient-rich soil. It is contained within a smooth,
20
+ bright blue cylindrical cup on a bright blue background
21
+ output:
22
+ url: image_2.png
23
+ - text: A photo of a young canola plant, about 20 to 29 days old with five developing
24
+ leaves. It is growing in dark, nutrient-rich soil. It is contained within a smooth,
25
+ bright blue cylindrical cup on a bright blue background
26
+ output:
27
+ url: image_3.png
28
+ tags:
29
+ - text-to-image
30
+ - diffusers-training
31
+ - diffusers
32
+ - lora
33
+ - template:sd-lora
34
+ - sd3
35
+ - sd3-diffusers
36
+ ---
37
+
38
+ <!-- This model card has been generated automatically according to the information the training script had access to. You
39
+ should probably proofread and complete it, then remove this comment. -->
40
+
41
+
42
+ # SD3 DreamBooth LoRA - rdeinla/test-can-2
43
+
44
+ <Gallery />
45
+
46
+ ## Model description
47
+
48
+ These are rdeinla/test-can-2 DreamBooth LoRA weights for stabilityai/stable-diffusion-3-medium-diffusers.
49
+
50
+ 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).
51
+
52
+ Was LoRA for the text encoder enabled? False.
53
+
54
+ ## Trigger words
55
+
56
+ You should use `a photo of a young canola plant that is about 20 days old. It has five leaves that are starting to develop` to trigger the image generation.
57
+
58
+ ## Download model
59
+
60
+ [Download the *.safetensors LoRA](rdeinla/test-can-2/tree/main) in the Files & versions tab.
61
+
62
+ ## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
63
+
64
+ ```py
65
+ from diffusers import AutoPipelineForText2Image
66
+ import torch
67
+ pipeline = AutoPipelineForText2Image.from_pretrained(stabilityai/stable-diffusion-3-medium-diffusers, torch_dtype=torch.float16).to('cuda')
68
+ pipeline.load_lora_weights('rdeinla/test-can-2', weight_name='pytorch_lora_weights.safetensors')
69
+ image = pipeline('A photo of a young canola plant, about 20 to 29 days old with five developing leaves. It is growing in dark, nutrient-rich soil. It is contained within a smooth, bright blue cylindrical cup on a bright blue background').images[0]
70
+ ```
71
+
72
+ ### Use it with UIs such as AUTOMATIC1111, Comfy UI, SD.Next, Invoke
73
+
74
+ - **LoRA**: download **[`diffusers_lora_weights.safetensors` here 💾](/rdeinla/test-can-2/blob/main/diffusers_lora_weights.safetensors)**.
75
+ - Rename it and place it on your `models/Lora` folder.
76
+ - 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/).
77
+
78
+ 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)
79
+
80
+ ## License
81
+
82
+ Please adhere to the licensing terms as described [here](https://huggingface.co/stabilityai/stable-diffusion-3-medium/blob/main/LICENSE.md).
83
+
84
+
85
+ ## Intended uses & limitations
86
+
87
+ #### How to use
88
+
89
+ ```python
90
+ # TODO: add an example code snippet for running this diffusion pipeline
91
+ ```
92
+
93
+ #### Limitations and bias
94
+
95
+ [TODO: provide examples of latent issues and potential remediations]
96
+
97
+ ## Training details
98
+
99
+ [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:2f65f2be3f8e8218d985e519b4083086d4de5bf6f1c1372337ca300e956e30cd
3
+ size 19096716
checkpoint-500/pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8c9224eee563c0222ea02911353daa55858cd76f0f9cc260d100ce007f42fdc7
3
+ size 9437288
checkpoint-500/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4330067e66df839d8f5b5a83bb960b4cbc23b6d48ce7b8c78ca37b34e7803267
3
+ size 14864
checkpoint-500/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:18b984273ea2d45b7ffb1d047bb359d93111e41fcad70d16a1b453fd38f72636
3
+ size 988
checkpoint-500/scheduler.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:afd64e88cd581b028c224bd12a06bae4885c7a3adf0b50a2434bf0a0850817c4
3
+ size 1000
image_0.png ADDED

Git LFS Details

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

Git LFS Details

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

Git LFS Details

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

Git LFS Details

  • SHA256: ddeb8753b55ee91383fc203f3cb978a82ea76628af6cfc8e43c5f85d6c48789a
  • Pointer size: 132 Bytes
  • Size of remote file: 1.08 MB
logs/dreambooth-sd3-lora/1740873573.5442185/events.out.tfevents.1740873573.g338.1309467.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ca7fb93cd99aea54b0ffbb31447c6425e68e8767ac9ba9605b87def2fe9a057f
3
+ size 3765
logs/dreambooth-sd3-lora/1740873573.5632293/hparams.yml ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: /project/6085367/SharedData/tuning_dp/diffusers/examples/dreambooth/Canola/20to29days/20to29-train-img2
24
+ instance_prompt: a photo of the cotyledon leaves of a canola plant growing in a bright
25
+ blue cup
26
+ learning_rate: 0.000456
27
+ local_rank: 0
28
+ logging_dir: logs
29
+ logit_mean: 0.0
30
+ logit_std: 1.0
31
+ lora_blocks: null
32
+ lora_layers: null
33
+ lr_num_cycles: 1
34
+ lr_power: 1.0
35
+ lr_scheduler: constant
36
+ lr_warmup_steps: 8
37
+ max_grad_norm: 1.0
38
+ max_sequence_length: 77
39
+ max_train_steps: 855
40
+ mixed_precision: fp16
41
+ mode_scale: 1.29
42
+ num_class_images: 100
43
+ num_train_epochs: 285
44
+ num_validation_images: 4
45
+ optimizer: AdamW
46
+ output_dir: /project/6085367/SharedData/diffusers/examples/dreambooth/trained-sd3-outputs/test-can-2
47
+ precondition_outputs: 1
48
+ pretrained_model_name_or_path: stabilityai/stable-diffusion-3-medium-diffusers
49
+ prior_generation_precision: null
50
+ prior_loss_weight: 1.0
51
+ prodigy_beta3: null
52
+ prodigy_decouple: true
53
+ prodigy_safeguard_warmup: true
54
+ prodigy_use_bias_correction: true
55
+ push_to_hub: true
56
+ random_flip: false
57
+ rank: 4
58
+ repeats: 1
59
+ report_to: tensorboard
60
+ resolution: 768
61
+ resume_from_checkpoint: null
62
+ revision: null
63
+ sample_batch_size: 4
64
+ scale_lr: false
65
+ seed: 42
66
+ text_encoder_lr: 5.0e-06
67
+ train_batch_size: 2
68
+ train_text_encoder: false
69
+ upcast_before_saving: false
70
+ use_8bit_adam: false
71
+ validation_epochs: 3
72
+ validation_prompt: A photo of a canola plant's cotyledon leaves. The canola plant
73
+ is around 0 to 9 days old. It is growing in dark, nutrient-rich soil. It is contained
74
+ within a smooth, bright blue cylindrical cup on a bright blue background
75
+ variant: null
76
+ weighting_scheme: logit_normal
77
+ with_prior_preservation: false
logs/dreambooth-sd3-lora/1740873878.9930742/events.out.tfevents.1740873878.g338.1310293.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a0d2193acd02e337e3b1ff8297763ad99d42beca6ee55f61cb0b644bc988ba11
3
+ size 3789
logs/dreambooth-sd3-lora/1740873879.006852/hparams.yml ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: /project/6085367/SharedData/tuning_dp/diffusers/examples/dreambooth/Canola/20to29days/20to29-train-img2
24
+ instance_prompt: a photo of a young canola plant that is about 20 days old. It has
25
+ five leaves that are starting to develop
26
+ learning_rate: 0.000456
27
+ local_rank: 0
28
+ logging_dir: logs
29
+ logit_mean: 0.0
30
+ logit_std: 1.0
31
+ lora_blocks: null
32
+ lora_layers: null
33
+ lr_num_cycles: 1
34
+ lr_power: 1.0
35
+ lr_scheduler: constant
36
+ lr_warmup_steps: 8
37
+ max_grad_norm: 1.0
38
+ max_sequence_length: 77
39
+ max_train_steps: 855
40
+ mixed_precision: fp16
41
+ mode_scale: 1.29
42
+ num_class_images: 100
43
+ num_train_epochs: 285
44
+ num_validation_images: 4
45
+ optimizer: AdamW
46
+ output_dir: /project/6085367/SharedData/diffusers/examples/dreambooth/trained-sd3-outputs/test-can-2
47
+ precondition_outputs: 1
48
+ pretrained_model_name_or_path: stabilityai/stable-diffusion-3-medium-diffusers
49
+ prior_generation_precision: null
50
+ prior_loss_weight: 1.0
51
+ prodigy_beta3: null
52
+ prodigy_decouple: true
53
+ prodigy_safeguard_warmup: true
54
+ prodigy_use_bias_correction: true
55
+ push_to_hub: true
56
+ random_flip: false
57
+ rank: 4
58
+ repeats: 1
59
+ report_to: tensorboard
60
+ resolution: 768
61
+ resume_from_checkpoint: null
62
+ revision: null
63
+ sample_batch_size: 4
64
+ scale_lr: false
65
+ seed: 42
66
+ text_encoder_lr: 5.0e-06
67
+ train_batch_size: 2
68
+ train_text_encoder: false
69
+ upcast_before_saving: false
70
+ use_8bit_adam: false
71
+ validation_epochs: 3
72
+ validation_prompt: A photo of a young canola plant, about 20 to 29 days old with five
73
+ developing leaves. It is growing in dark, nutrient-rich soil. It is contained within
74
+ a smooth, bright blue cylindrical cup on a bright blue background
75
+ variant: null
76
+ weighting_scheme: logit_normal
77
+ with_prior_preservation: false
logs/dreambooth-sd3-lora/events.out.tfevents.1740873573.g338.1309467.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2c4b525d11ef76ae7118b8be9cc0451269d300b45b0520c83ca701df6995dd4c
3
+ size 5252235
logs/dreambooth-sd3-lora/events.out.tfevents.1740873878.g338.1310293.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fd6c77bcca87e625a2c741be6e866ab7650e558a6a3e59f772af398b559b7e6e
3
+ size 430609386
pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c3c5abccceba9e82646c6f57cb61881e7dd002b86ab025ec28c32ea24a5e5063
3
+ size 4743176