rdeinla commited on
Commit
6cc0577
·
verified ·
1 Parent(s): 6b6577e

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

Git LFS Details

  • SHA256: 8de5d50299b081b695b732d300493b047ae2de29d4454ddebb8448853ce23b6a
  • Pointer size: 132 Bytes
  • Size of remote file: 1.09 MB
image_1.png ADDED

Git LFS Details

  • SHA256: d7eab368cde93b242daf1bbb149b7bb6e558bec79855e36b63a9d72a5edaaae6
  • Pointer size: 132 Bytes
  • Size of remote file: 1.03 MB
image_2.png ADDED

Git LFS Details

  • SHA256: 11909bfcba1f4c6f448c7458f0ba166ae9b22b9efdf7d0450dd76bef853557d3
  • Pointer size: 132 Bytes
  • Size of remote file: 1.06 MB
image_3.png ADDED

Git LFS Details

  • SHA256: a81b1c566b341f985662dae91f8d97849cba736d97d9c3c6f8b79c57d9214f94
  • Pointer size: 132 Bytes
  • Size of remote file: 1.03 MB
logs/dreambooth-sd3-lora/1742618358.615872/events.out.tfevents.1742618358.g338.3783766.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4969439b13a615289f2ec509c4a76cd3b65f9176a31d9911101eb14fc8d1d6d0
3
+ size 3925
logs/dreambooth-sd3-lora/1742618358.6207404/hparams.yml ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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/30to39days/30to39-train-2
24
+ instance_prompt: a photo of a young canola plant in a bright blue cup. It is about
25
+ 30 days old. It has long stems with curved, ruffled leaves.
26
+ learning_rate: 0.00044
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: 765
40
+ mixed_precision: fp16
41
+ mode_scale: 1.29
42
+ num_class_images: 100
43
+ num_train_epochs: 255
44
+ num_validation_images: 4
45
+ optimizer: AdamW
46
+ output_dir: /project/6085367/SharedData/diffusers/examples/dreambooth/trained-sd3-outputs/test-can-3-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 with five leaves. The leaves branch
73
+ off of the stem. The leaves are curved and ruffled around the edges and are green
74
+ and yellow-green in colour. It is about 30 days old. It is growing in dark, nutrient-rich
75
+ soil. It is contained within a smooth, bright blue cylindrical cup on a bright blue
76
+ background
77
+ variant: null
78
+ weighting_scheme: logit_normal
79
+ with_prior_preservation: false
logs/dreambooth-sd3-lora/events.out.tfevents.1742618358.g338.3783766.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:786275e1968f08c955fdd453404269a33c2f39017d05ffa85eac8a085f263f4e
3
+ size 381125947
pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e20769aaab269c831deaceca6a63d4a843161b948a260024b909f6c091bd0357
3
+ size 4743176