End of training
Browse files- .gitattributes +4 -0
- README.md +90 -0
- checkpoint-10000/optimizer.bin +3 -0
- checkpoint-10000/pytorch_lora_weights.safetensors +3 -0
- checkpoint-10000/random_states_0.pkl +3 -0
- checkpoint-10000/scaler.pt +3 -0
- checkpoint-10000/scheduler.bin +3 -0
- checkpoint-15000/optimizer.bin +3 -0
- checkpoint-15000/pytorch_lora_weights.safetensors +3 -0
- checkpoint-15000/random_states_0.pkl +3 -0
- checkpoint-15000/scaler.pt +3 -0
- checkpoint-15000/scheduler.bin +3 -0
- checkpoint-20000/optimizer.bin +3 -0
- checkpoint-20000/pytorch_lora_weights.safetensors +3 -0
- checkpoint-20000/random_states_0.pkl +3 -0
- checkpoint-20000/scaler.pt +3 -0
- checkpoint-20000/scheduler.bin +3 -0
- checkpoint-5000/optimizer.bin +3 -0
- checkpoint-5000/pytorch_lora_weights.safetensors +3 -0
- checkpoint-5000/random_states_0.pkl +3 -0
- checkpoint-5000/scaler.pt +3 -0
- checkpoint-5000/scheduler.bin +3 -0
- image_0.png +3 -0
- image_1.png +3 -0
- image_2.png +3 -0
- image_3.png +3 -0
- logs/dreambooth-sd3-lora/1729524191.6352706/events.out.tfevents.1729524191.sn4622119174.1107084.1 +3 -0
- logs/dreambooth-sd3-lora/1729524191.6363742/hparams.yml +70 -0
- logs/dreambooth-sd3-lora/events.out.tfevents.1729524191.sn4622119174.1107084.0 +3 -0
- pytorch_lora_weights.safetensors +3 -0
.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 [V]
|
14 |
+
widget:
|
15 |
+
- text: A photo of [V]
|
16 |
+
output:
|
17 |
+
url: image_0.png
|
18 |
+
- text: A photo of [V]
|
19 |
+
output:
|
20 |
+
url: image_1.png
|
21 |
+
- text: A photo of [V]
|
22 |
+
output:
|
23 |
+
url: image_2.png
|
24 |
+
- text: A photo of [V]
|
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/fdk-sd3-lora-2
|
34 |
+
|
35 |
+
<Gallery />
|
36 |
+
|
37 |
+
## Model description
|
38 |
+
|
39 |
+
These are anmittal1/fdk-sd3-lora-2 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 [V]` to trigger the image generation.
|
48 |
+
|
49 |
+
## Download model
|
50 |
+
|
51 |
+
[Download the *.safetensors LoRA](anmittal1/fdk-sd3-lora-2/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/fdk-sd3-lora-2', weight_name='pytorch_lora_weights.safetensors')
|
60 |
+
image = pipeline('A photo of [V]').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/fdk-sd3-lora-2/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-10000/optimizer.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0f2fb3485835bbf65071e94684c71fd1375b3a75f14afe32020fe988b31d3e97
|
3 |
+
size 9598266
|
checkpoint-10000/pytorch_lora_weights.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d52cd4d2d43bb94e41a674293ac67b5541ad4983ff7c8d480abb94b490133937
|
3 |
+
size 4742848
|
checkpoint-10000/random_states_0.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d2d859660000e35a7f1ea35bde31d639604b103490ca22dc883d97adaa5c6bd2
|
3 |
+
size 14408
|
checkpoint-10000/scaler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e8e1fa390b0460999c73d8542190cece0bbbdda1e2fb18af0ffde3493c5cf278
|
3 |
+
size 988
|
checkpoint-10000/scheduler.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:091aa72ab02d5ea76bb5b62a25ebeb7f36959503a4362715ddea4407ffe0db5f
|
3 |
+
size 1000
|
checkpoint-15000/optimizer.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f595790fb5de9c79db152b0acbe8c5f65710e4641552610bc7f875fce902484b
|
3 |
+
size 9598266
|
checkpoint-15000/pytorch_lora_weights.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b45e7ce904069d1815c898f4cc81eeec8c963908258b9c01c7ba7211fb30d343
|
3 |
+
size 4742848
|
checkpoint-15000/random_states_0.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ba101101eb0a314f0b3479f6cbc143f44f8c086a96af0e62e8f5daabe9ba8978
|
3 |
+
size 14408
|
checkpoint-15000/scaler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c0da7ad73c1d9feabe0924ea2b172b2ddb89c4422b6566c4300d93031117e443
|
3 |
+
size 988
|
checkpoint-15000/scheduler.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bbcbb13d507a61ed5838cd183ca6aa92b99673a3e4b63c5dfc2853dfe9e50ab2
|
3 |
+
size 1000
|
checkpoint-20000/optimizer.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f857cc7987d5ba3bbde2af1dff7a554120b10140164413a5855289ab48e2af33
|
3 |
+
size 9598266
|
checkpoint-20000/pytorch_lora_weights.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:34d45ae00c5326f96ed123cfff150c1188e8f02bb95713749301e93c6ed855a9
|
3 |
+
size 4742848
|
checkpoint-20000/random_states_0.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:acb5d7adffd1b673d8c996ce2ae4bcde8a4e3be7d58ea0a2c653678e97687145
|
3 |
+
size 14408
|
checkpoint-20000/scaler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:924287e4da9237d8d29c116c557ced8b141da9b9d0d99f20cb0e3fcb7f9d438e
|
3 |
+
size 988
|
checkpoint-20000/scheduler.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:355ab8372f846f2f943a669eeaee67fba5cc9aa0f014a786dc75d35937b366e0
|
3 |
+
size 1000
|
checkpoint-5000/optimizer.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7012afc08f1379fe4be659f7eca0963643ec215cf94605edfed2d0135d09a872
|
3 |
+
size 9598266
|
checkpoint-5000/pytorch_lora_weights.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a8d53db74618079c1f8e5794fafdb78783ed3c116c1952ea2a40b868a7ee19ef
|
3 |
+
size 4742848
|
checkpoint-5000/random_states_0.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:823141df27f3840813604bd7ac5dd789b2dcb2d988da443dae9ed7bb04e0ab87
|
3 |
+
size 14408
|
checkpoint-5000/scaler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:41216328ab75de937007afb04d76156949bedb908461001a451c8991c2ba8cca
|
3 |
+
size 988
|
checkpoint-5000/scheduler.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:920333155b08e76154b89a85170c320833074db7b84649a9cfe79fd10b6bf2d9
|
3 |
+
size 1000
|
image_0.png
ADDED
Git LFS Details
|
image_1.png
ADDED
Git LFS Details
|
image_2.png
ADDED
Git LFS Details
|
image_3.png
ADDED
Git LFS Details
|
logs/dreambooth-sd3-lora/1729524191.6352706/events.out.tfevents.1729524191.sn4622119174.1107084.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cd1ac30adfb2aa1dedbbf4e8a35782c273b2c0cf9ec30449c4399721cbc53a8d
|
3 |
+
size 3209
|
logs/dreambooth-sd3-lora/1729524191.6363742/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: 5000
|
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: 6
|
18 |
+
gradient_checkpointing: false
|
19 |
+
hub_model_id: null
|
20 |
+
hub_token: null
|
21 |
+
image_column: image
|
22 |
+
instance_data_dir: FDK
|
23 |
+
instance_prompt: a photo of [V]
|
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: 20000
|
36 |
+
mixed_precision: fp16
|
37 |
+
mode_scale: 1.29
|
38 |
+
num_class_images: 100
|
39 |
+
num_train_epochs: 10000
|
40 |
+
num_validation_images: 4
|
41 |
+
optimizer: AdamW
|
42 |
+
output_dir: fdk-sd3-lora-2
|
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 [V]
|
68 |
+
variant: null
|
69 |
+
weighting_scheme: logit_normal
|
70 |
+
with_prior_preservation: false
|
logs/dreambooth-sd3-lora/events.out.tfevents.1729524191.sn4622119174.1107084.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d0037594671689bb5982de9b3b5dfbc7fec8049cf4a1c370f032ac4534ae3ad9
|
3 |
+
size 2426486255
|
pytorch_lora_weights.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:34d45ae00c5326f96ed123cfff150c1188e8f02bb95713749301e93c6ed855a9
|
3 |
+
size 4742848
|