zhangsh1416 commited on
Commit
2e8692a
·
verified ·
1 Parent(s): a971d7e

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,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: stabilityai/stable-diffusion-3.5-medium
3
+ library_name: diffusers
4
+ license: other
5
+ instance_prompt: an advertising poster
6
+ widget:
7
+ - text: A doll's advertising poster
8
+ output:
9
+ url: image_0.png
10
+ - text: A doll's advertising poster
11
+ output:
12
+ url: image_1.png
13
+ - text: A doll's advertising poster
14
+ output:
15
+ url: image_2.png
16
+ - text: A doll's advertising poster
17
+ output:
18
+ url: image_3.png
19
+ tags:
20
+ - text-to-image
21
+ - diffusers-training
22
+ - diffusers
23
+ - lora
24
+ - sd3
25
+ - sd3-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
+ # SD3 DreamBooth LoRA - zhangsh1416/images_sd35_medium
34
+
35
+ <Gallery />
36
+
37
+ ## Model description
38
+
39
+ These are zhangsh1416/images_sd35_medium DreamBooth LoRA weights for stabilityai/stable-diffusion-3.5-medium.
40
+
41
+ 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).
42
+
43
+ Was LoRA for the text encoder enabled? False.
44
+
45
+ ## Trigger words
46
+
47
+ You should use `an advertising poster` to trigger the image generation.
48
+
49
+ ## Download model
50
+
51
+ [Download the *.safetensors LoRA](zhangsh1416/images_sd35_medium/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('stabilityai/stable-diffusion-3-medium-diffusers', torch_dtype=torch.float16).to('cuda')
59
+ pipeline.load_lora_weights('zhangsh1416/images_sd35_medium', weight_name='pytorch_lora_weights.safetensors')
60
+ image = pipeline('A doll's advertising poster').images[0]
61
+ ```
62
+
63
+ ### Use it with UIs such as AUTOMATIC1111, Comfy UI, SD.Next, Invoke
64
+
65
+ - **LoRA**: download **[`diffusers_lora_weights.safetensors` here 💾](/zhangsh1416/images_sd35_medium/blob/main/diffusers_lora_weights.safetensors)**.
66
+ - Rename it and place it on your `models/Lora` folder.
67
+ - 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/).
68
+
69
+ 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)
70
+
71
+ ## License
72
+
73
+ Please adhere to the licensing terms as described [here](https://huggingface.co/stabilityai/stable-diffusion-3-medium/blob/main/LICENSE).
74
+
75
+
76
+ ## Intended uses & limitations
77
+
78
+ #### How to use
79
+
80
+ ```python
81
+ # TODO: add an example code snippet for running this diffusion pipeline
82
+ ```
83
+
84
+ #### Limitations and bias
85
+
86
+ [TODO: provide examples of latent issues and potential remediations]
87
+
88
+ ## Training details
89
+
90
+ [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:728c804a1477ee7aa35a655380963df0389b644c7e77ed538b9121fe9be9b6f9
3
+ size 29346234
checkpoint-500/pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7e25b8086cd24d07ca28beb3cab65db97006bcf1dfd3a8a403fa9476bb96a4a6
3
+ size 14587296
checkpoint-500/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f43043141af18541799854034170fd6f392dfaae0e89965ac886e93c0b96300b
3
+ size 14344
checkpoint-500/scheduler.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dc54058f410a849396bf1a843c92a6292d26aa48043c34136b139bf8839cc5ad
3
+ size 1000
image_0.png ADDED

Git LFS Details

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

Git LFS Details

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

Git LFS Details

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

Git LFS Details

  • SHA256: 0746c937165021239747dd9880f30591701dddfce7033fc2de415c170b992bc6
  • Pointer size: 132 Bytes
  • Size of remote file: 1.54 MB
logs/dreambooth-sd3-lora/1740061507.1480408/events.out.tfevents.1740061507.TUWIFWI-CIP-T13.124056.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c49641ef83fb45fff3f10bd00e1b0573cdc1bbccd919081fb94e1e9694fbe91d
3
+ size 3340
logs/dreambooth-sd3-lora/1740061507.2261496/hparams.yml ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: ../../dataset/images
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: null
24
+ instance_prompt: an advertising poster
25
+ learning_rate: 0.0004
26
+ local_rank: -1
27
+ logging_dir: logs
28
+ logit_mean: 0.0
29
+ logit_std: 1.0
30
+ lr_num_cycles: 1
31
+ lr_power: 1.0
32
+ lr_scheduler: constant
33
+ lr_warmup_steps: 0
34
+ max_grad_norm: 1.0
35
+ max_sequence_length: 77
36
+ max_train_steps: 700
37
+ mixed_precision: bf16
38
+ mode_scale: 1.29
39
+ num_class_images: 100
40
+ num_train_epochs: 14
41
+ num_validation_images: 4
42
+ optimizer: AdamW
43
+ output_dir: images_sd35_medium
44
+ precondition_outputs: 1
45
+ pretrained_model_name_or_path: stabilityai/stable-diffusion-3.5-medium
46
+ prior_generation_precision: null
47
+ prior_loss_weight: 1.0
48
+ prodigy_beta3: null
49
+ prodigy_decouple: true
50
+ prodigy_safeguard_warmup: true
51
+ prodigy_use_bias_correction: true
52
+ push_to_hub: true
53
+ random_flip: false
54
+ rank: 16
55
+ repeats: 1
56
+ report_to: tensorboard
57
+ resolution: 768
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
+ upcast_before_saving: false
67
+ use_8bit_adam: false
68
+ validation_epochs: 25
69
+ validation_prompt: A doll's advertising poster
70
+ variant: null
71
+ weighting_scheme: logit_normal
72
+ with_prior_preservation: false
logs/dreambooth-sd3-lora/events.out.tfevents.1740061507.TUWIFWI-CIP-T13.124056.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d98179c00fbdee0e23d82efa72c211f3380f1097b72d82dba55836a72147a7db
3
+ size 12798746
pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9ab4e99145b55dbbc4da1aa626824255a72bddee43b49fc0fb040aa1792e5186
3
+ size 14587296