anmittal1 commited on
Commit
4868c7f
·
verified ·
1 Parent(s): d886dca

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-medium-diffusers
3
+ library_name: diffusers
4
+ license: openrail++
5
+ tags:
6
+ - text-to-image
7
+ - diffusers-training
8
+ - diffusers
9
+ - lora
10
+ - sd3
11
+ - sd3-diffusers
12
+ - template:sd-lora
13
+ instance_prompt: a photo of xkx object in rectangular small bin
14
+ widget:
15
+ - text: A photo of xkx object in rectangular small bin
16
+ output:
17
+ url: image_0.png
18
+ - text: A photo of xkx object in rectangular small bin
19
+ output:
20
+ url: image_1.png
21
+ - text: A photo of xkx object in rectangular small bin
22
+ output:
23
+ url: image_2.png
24
+ - text: A photo of xkx object in rectangular small bin
25
+ output:
26
+ url: image_3.png
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 - anmittal1/camvan-sd3-lora
34
+
35
+ <Gallery />
36
+
37
+ ## Model description
38
+
39
+ These are anmittal1/camvan-sd3-lora DreamBooth LoRA weights for stabilityai/stable-diffusion-3-medium-diffusers.
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 `a photo of xkx object in rectangular small bin` to trigger the image generation.
48
+
49
+ ## Download model
50
+
51
+ [Download the *.safetensors LoRA](anmittal1/camvan-sd3-lora/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('anmittal1/camvan-sd3-lora', weight_name='pytorch_lora_weights.safetensors')
60
+ image = pipeline('A photo of xkx object in rectangular small bin').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 💾](/anmittal1/camvan-sd3-lora/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-1000/optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e1d0b167da5645dc296622ffeef2fae52266540f0948c7eeabaeb638330ea755
3
+ size 9598266
checkpoint-1000/pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9a9f964b17a11aaf3b96ea56c47c8c39c2466d0f8dfbdd4a73b1b23b2b84d131
3
+ size 4742848
checkpoint-1000/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:94abe91d38046c6415f17ebaf4fa4ac12972d76dd24b1038138f57c9c1fdf2f0
3
+ size 14408
checkpoint-1000/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9d8fdcd0311eba9854fff738038ed4c1a269832665b4d88ba4e4e3d02a1a7e0e
3
+ size 988
checkpoint-1000/scheduler.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9d16ae9dedf4c45ceadc467593037d83423677715e75ab402a9f44aa81de9b84
3
+ size 1000
checkpoint-2000/optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c9e22dda7d89b2fcc9320a27541fff792aed372d372b5006e2953f32cb3bcb04
3
+ size 9598266
checkpoint-2000/pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a8441677bbb875c69fadfed0d8d3acea286f20971e937f89f7601473c5af408d
3
+ size 4742848
checkpoint-2000/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b9b21cb44fdd801795cff0ae0ea5c1280254976481a34c6ffb187fa5ff4e14ba
3
+ size 14408
checkpoint-2000/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3c50a9cebe5d66d453d25b140738bff479749ac03e0a43597d8776bc22f6ed0c
3
+ size 988
checkpoint-2000/scheduler.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:81a7fe0a2983de695c44ba167520d4ce1ca01157e36e90498bee8c9d8e4b61fc
3
+ size 1000
checkpoint-3000/optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8bb67eb768fb7cfaf1e09a4facc00231e2842ca8505526e55b934d0b6d74baca
3
+ size 9598266
checkpoint-3000/pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c8f555cbbd2507cd81afc947b144b1b56ceed00b234d23d8a8ea7d853cf0df97
3
+ size 4742848
checkpoint-3000/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:722a86f504bae0a10a49e8156e2d39c405636693f1e89b01aedad5613cf40139
3
+ size 14408
checkpoint-3000/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:21aba8ed0f38ed1c04994c10a9ca7e9925e55ef2ed51283c43ff8e2cce78585f
3
+ size 988
checkpoint-3000/scheduler.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7a530ffa9220cf65c0729e966fdf26ce7223ed3dc88346bbe1367170da20bad4
3
+ size 1000
image_0.png ADDED

Git LFS Details

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

Git LFS Details

  • SHA256: 1d067687c7c8824114665605bcb9730fa29913030edfd63ffd553e1afbd455d2
  • Pointer size: 132 Bytes
  • Size of remote file: 1.35 MB
image_2.png ADDED

Git LFS Details

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

Git LFS Details

  • SHA256: 107df02a43fa31450e162219de2a46442277eebecab163d3757332666c182ef7
  • Pointer size: 132 Bytes
  • Size of remote file: 1.42 MB
logs/dreambooth-sd3-lora/1727184609.9505482/events.out.tfevents.1727184609.sn4622119174.34743.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4cb806e507f7502ff0ad17d229b11a33d6866cd2f0c4fb64adfc1d9981a22f5f
3
+ size 3277
logs/dreambooth-sd3-lora/1727184609.95168/hparams.yml ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: 1000
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
+ gradient_accumulation_steps: 4
18
+ gradient_checkpointing: false
19
+ hub_model_id: null
20
+ hub_token: null
21
+ image_column: image
22
+ instance_data_dir: camvan
23
+ instance_prompt: a photo of xkx object in rectangular small bin
24
+ learning_rate: 1.0e-05
25
+ local_rank: 0
26
+ logging_dir: logs
27
+ logit_mean: 0.0
28
+ logit_std: 1.0
29
+ lr_num_cycles: 1
30
+ lr_power: 1.0
31
+ lr_scheduler: constant
32
+ lr_warmup_steps: 0
33
+ max_grad_norm: 1.0
34
+ max_sequence_length: 77
35
+ max_train_steps: 3000
36
+ mixed_precision: fp16
37
+ mode_scale: 1.29
38
+ num_class_images: 100
39
+ num_train_epochs: 1500
40
+ num_validation_images: 4
41
+ optimizer: AdamW
42
+ output_dir: camvan-sd3-lora
43
+ precondition_outputs: 1
44
+ pretrained_model_name_or_path: stabilityai/stable-diffusion-3-medium-diffusers
45
+ prior_generation_precision: null
46
+ prior_loss_weight: 1.0
47
+ prodigy_beta3: null
48
+ prodigy_decouple: true
49
+ prodigy_safeguard_warmup: true
50
+ prodigy_use_bias_correction: true
51
+ push_to_hub: true
52
+ random_flip: false
53
+ rank: 4
54
+ repeats: 1
55
+ report_to: tensorboard
56
+ resolution: 512
57
+ resume_from_checkpoint: null
58
+ revision: null
59
+ sample_batch_size: 4
60
+ scale_lr: false
61
+ seed: 1
62
+ text_encoder_lr: 5.0e-06
63
+ train_batch_size: 1
64
+ train_text_encoder: false
65
+ use_8bit_adam: false
66
+ validation_epochs: 25
67
+ validation_prompt: A photo of xkx object in rectangular small bin
68
+ variant: null
69
+ weighting_scheme: logit_normal
70
+ with_prior_preservation: false
logs/dreambooth-sd3-lora/1727185787.4693913/events.out.tfevents.1727185787.sn4622119174.39359.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b64c95ef2250b08f5a3f8acd035a5325625ee7d47285befd6c62b563d989b9c6
3
+ size 3277
logs/dreambooth-sd3-lora/1727185787.470388/hparams.yml ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: 1000
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
+ gradient_accumulation_steps: 4
18
+ gradient_checkpointing: false
19
+ hub_model_id: null
20
+ hub_token: null
21
+ image_column: image
22
+ instance_data_dir: camvan
23
+ instance_prompt: a photo of xkx object in rectangular small bin
24
+ learning_rate: 1.0e-05
25
+ local_rank: 0
26
+ logging_dir: logs
27
+ logit_mean: 0.0
28
+ logit_std: 1.0
29
+ lr_num_cycles: 1
30
+ lr_power: 1.0
31
+ lr_scheduler: constant
32
+ lr_warmup_steps: 0
33
+ max_grad_norm: 1.0
34
+ max_sequence_length: 77
35
+ max_train_steps: 3000
36
+ mixed_precision: fp16
37
+ mode_scale: 1.29
38
+ num_class_images: 100
39
+ num_train_epochs: 1500
40
+ num_validation_images: 4
41
+ optimizer: AdamW
42
+ output_dir: camvan-sd3-lora
43
+ precondition_outputs: 1
44
+ pretrained_model_name_or_path: stabilityai/stable-diffusion-3-medium-diffusers
45
+ prior_generation_precision: null
46
+ prior_loss_weight: 1.0
47
+ prodigy_beta3: null
48
+ prodigy_decouple: true
49
+ prodigy_safeguard_warmup: true
50
+ prodigy_use_bias_correction: true
51
+ push_to_hub: true
52
+ random_flip: false
53
+ rank: 4
54
+ repeats: 1
55
+ report_to: tensorboard
56
+ resolution: 512
57
+ resume_from_checkpoint: null
58
+ revision: null
59
+ sample_batch_size: 4
60
+ scale_lr: false
61
+ seed: 1
62
+ text_encoder_lr: 5.0e-06
63
+ train_batch_size: 1
64
+ train_text_encoder: false
65
+ use_8bit_adam: false
66
+ validation_epochs: 25
67
+ validation_prompt: A photo of xkx object in rectangular small bin
68
+ variant: null
69
+ weighting_scheme: logit_normal
70
+ with_prior_preservation: false
logs/dreambooth-sd3-lora/events.out.tfevents.1727184609.sn4622119174.34743.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1a2c89ad96c1215b6e8c7305531e0c66f3e9383d51fb692d17470fc58d9d07a4
3
+ size 81132847
logs/dreambooth-sd3-lora/events.out.tfevents.1727185787.sn4622119174.39359.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:68ed31994d96b0b99223968f415d31f4357ad7e41021e7a8e564b2da71e0db6e
3
+ size 355788214
pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c8f555cbbd2507cd81afc947b144b1b56ceed00b234d23d8a8ea7d853cf0df97
3
+ size 4742848