End of training
Browse files- .gitattributes +4 -0
- .log +0 -0
- README.md +84 -0
- image_0.png +3 -0
- image_1.png +3 -0
- image_2.png +3 -0
- image_3.png +3 -0
- logs/dreambooth-flux-dev-lora/1732789944.158504/events.out.tfevents.1732789944.node-0.1907557.1 +3 -0
- logs/dreambooth-flux-dev-lora/1732789944.1608486/hparams.yml +73 -0
- logs/dreambooth-flux-dev-lora/1732794422.3718812/events.out.tfevents.1732794422.node-0.1930651.1 +3 -0
- logs/dreambooth-flux-dev-lora/1732794422.3739617/hparams.yml +73 -0
- logs/dreambooth-flux-dev-lora/1732794761.328809/events.out.tfevents.1732794761.node-0.1933430.1 +3 -0
- logs/dreambooth-flux-dev-lora/1732794761.3309672/hparams.yml +73 -0
- logs/dreambooth-flux-dev-lora/events.out.tfevents.1732789944.node-0.1907557.0 +3 -0
- logs/dreambooth-flux-dev-lora/events.out.tfevents.1732794422.node-0.1930651.0 +3 -0
- logs/dreambooth-flux-dev-lora/events.out.tfevents.1732794761.node-0.1933430.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
|
.log
ADDED
The diff for this file is too large to render.
See raw diff
|
|
README.md
ADDED
@@ -0,0 +1,84 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: black-forest-labs/FLUX.1-dev
|
3 |
+
library_name: diffusers
|
4 |
+
license: other
|
5 |
+
instance_prompt: a photo of sks dog
|
6 |
+
widget:
|
7 |
+
- text: A photo of sks dog in a bucket
|
8 |
+
output:
|
9 |
+
url: image_0.png
|
10 |
+
- text: A photo of sks dog in a bucket
|
11 |
+
output:
|
12 |
+
url: image_1.png
|
13 |
+
- text: A photo of sks dog in a bucket
|
14 |
+
output:
|
15 |
+
url: image_2.png
|
16 |
+
- text: A photo of sks dog in a bucket
|
17 |
+
output:
|
18 |
+
url: image_3.png
|
19 |
+
tags:
|
20 |
+
- text-to-image
|
21 |
+
- diffusers-training
|
22 |
+
- diffusers
|
23 |
+
- lora
|
24 |
+
- flux
|
25 |
+
- flux-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 |
+
# Flux DreamBooth LoRA - jimengsun/trained-dreambooth-flux-lora
|
34 |
+
|
35 |
+
<Gallery />
|
36 |
+
|
37 |
+
## Model description
|
38 |
+
|
39 |
+
These are jimengsun/trained-dreambooth-flux-lora DreamBooth LoRA weights for black-forest-labs/FLUX.1-dev.
|
40 |
+
|
41 |
+
The weights were trained using [DreamBooth](https://dreambooth.github.io/) with the [Flux diffusers trainer](https://github.com/huggingface/diffusers/blob/main/examples/dreambooth/README_flux.md).
|
42 |
+
|
43 |
+
Was LoRA for the text encoder enabled? False.
|
44 |
+
|
45 |
+
## Trigger words
|
46 |
+
|
47 |
+
You should use `a photo of sks dog` to trigger the image generation.
|
48 |
+
|
49 |
+
## Download model
|
50 |
+
|
51 |
+
[Download the *.safetensors LoRA](jimengsun/trained-dreambooth-flux-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("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16).to('cuda')
|
59 |
+
pipeline.load_lora_weights('jimengsun/trained-dreambooth-flux-lora', weight_name='pytorch_lora_weights.safetensors')
|
60 |
+
image = pipeline('A photo of sks dog in a bucket').images[0]
|
61 |
+
```
|
62 |
+
|
63 |
+
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)
|
64 |
+
|
65 |
+
## License
|
66 |
+
|
67 |
+
Please adhere to the licensing terms as described [here](https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md).
|
68 |
+
|
69 |
+
|
70 |
+
## Intended uses & limitations
|
71 |
+
|
72 |
+
#### How to use
|
73 |
+
|
74 |
+
```python
|
75 |
+
# TODO: add an example code snippet for running this diffusion pipeline
|
76 |
+
```
|
77 |
+
|
78 |
+
#### Limitations and bias
|
79 |
+
|
80 |
+
[TODO: provide examples of latent issues and potential remediations]
|
81 |
+
|
82 |
+
## Training details
|
83 |
+
|
84 |
+
[TODO: describe the data used to train the model]
|
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-flux-dev-lora/1732789944.158504/events.out.tfevents.1732789944.node-0.1907557.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:77d6f0b676e04eaf1fd200f8f8f09163e7c61d31c62244bd225d38719a7b6e47
|
3 |
+
size 3314
|
logs/dreambooth-flux-dev-lora/1732789944.1608486/hparams.yml
ADDED
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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: 4
|
19 |
+
gradient_checkpointing: false
|
20 |
+
guidance_scale: 1.0
|
21 |
+
hub_model_id: null
|
22 |
+
hub_token: null
|
23 |
+
image_column: image
|
24 |
+
instance_data_dir: dog
|
25 |
+
instance_prompt: a photo of sks dog
|
26 |
+
learning_rate: 1.0
|
27 |
+
local_rank: 0
|
28 |
+
logging_dir: logs
|
29 |
+
logit_mean: 0.0
|
30 |
+
logit_std: 1.0
|
31 |
+
lora_layers: null
|
32 |
+
lr_num_cycles: 1
|
33 |
+
lr_power: 1.0
|
34 |
+
lr_scheduler: constant
|
35 |
+
lr_warmup_steps: 0
|
36 |
+
max_grad_norm: 1.0
|
37 |
+
max_sequence_length: 512
|
38 |
+
max_train_steps: 100
|
39 |
+
mixed_precision: bf16
|
40 |
+
mode_scale: 1.29
|
41 |
+
num_class_images: 100
|
42 |
+
num_train_epochs: 100
|
43 |
+
num_validation_images: 4
|
44 |
+
optimizer: prodigy
|
45 |
+
output_dir: trained-dreambooth-flux-lora
|
46 |
+
pretrained_model_name_or_path: black-forest-labs/FLUX.1-dev
|
47 |
+
prior_generation_precision: null
|
48 |
+
prior_loss_weight: 1.0
|
49 |
+
prodigy_beta3: null
|
50 |
+
prodigy_decouple: true
|
51 |
+
prodigy_safeguard_warmup: true
|
52 |
+
prodigy_use_bias_correction: true
|
53 |
+
push_to_hub: true
|
54 |
+
random_flip: false
|
55 |
+
rank: 4
|
56 |
+
repeats: 1
|
57 |
+
report_to: tensorboard
|
58 |
+
resolution: 512
|
59 |
+
resume_from_checkpoint: null
|
60 |
+
revision: null
|
61 |
+
sample_batch_size: 4
|
62 |
+
scale_lr: false
|
63 |
+
seed: 0
|
64 |
+
text_encoder_lr: 5.0e-06
|
65 |
+
train_batch_size: 1
|
66 |
+
train_text_encoder: false
|
67 |
+
upcast_before_saving: false
|
68 |
+
use_8bit_adam: false
|
69 |
+
validation_epochs: 25
|
70 |
+
validation_prompt: A photo of sks dog in a bucket
|
71 |
+
variant: null
|
72 |
+
weighting_scheme: none
|
73 |
+
with_prior_preservation: false
|
logs/dreambooth-flux-dev-lora/1732794422.3718812/events.out.tfevents.1732794422.node-0.1930651.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:aecdc9524490ae016416f43042056216983bf744e2bb0f6fffa9d04d689586ef
|
3 |
+
size 3314
|
logs/dreambooth-flux-dev-lora/1732794422.3739617/hparams.yml
ADDED
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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: 4
|
19 |
+
gradient_checkpointing: false
|
20 |
+
guidance_scale: 1.0
|
21 |
+
hub_model_id: null
|
22 |
+
hub_token: null
|
23 |
+
image_column: image
|
24 |
+
instance_data_dir: dog
|
25 |
+
instance_prompt: a photo of sks dog
|
26 |
+
learning_rate: 1.0
|
27 |
+
local_rank: 0
|
28 |
+
logging_dir: logs
|
29 |
+
logit_mean: 0.0
|
30 |
+
logit_std: 1.0
|
31 |
+
lora_layers: null
|
32 |
+
lr_num_cycles: 1
|
33 |
+
lr_power: 1.0
|
34 |
+
lr_scheduler: constant
|
35 |
+
lr_warmup_steps: 0
|
36 |
+
max_grad_norm: 1.0
|
37 |
+
max_sequence_length: 512
|
38 |
+
max_train_steps: 100
|
39 |
+
mixed_precision: fp16
|
40 |
+
mode_scale: 1.29
|
41 |
+
num_class_images: 100
|
42 |
+
num_train_epochs: 100
|
43 |
+
num_validation_images: 4
|
44 |
+
optimizer: prodigy
|
45 |
+
output_dir: trained-dreambooth-flux-lora
|
46 |
+
pretrained_model_name_or_path: black-forest-labs/FLUX.1-dev
|
47 |
+
prior_generation_precision: null
|
48 |
+
prior_loss_weight: 1.0
|
49 |
+
prodigy_beta3: null
|
50 |
+
prodigy_decouple: true
|
51 |
+
prodigy_safeguard_warmup: true
|
52 |
+
prodigy_use_bias_correction: true
|
53 |
+
push_to_hub: true
|
54 |
+
random_flip: false
|
55 |
+
rank: 4
|
56 |
+
repeats: 1
|
57 |
+
report_to: tensorboard
|
58 |
+
resolution: 512
|
59 |
+
resume_from_checkpoint: null
|
60 |
+
revision: null
|
61 |
+
sample_batch_size: 4
|
62 |
+
scale_lr: false
|
63 |
+
seed: 0
|
64 |
+
text_encoder_lr: 5.0e-06
|
65 |
+
train_batch_size: 1
|
66 |
+
train_text_encoder: false
|
67 |
+
upcast_before_saving: false
|
68 |
+
use_8bit_adam: false
|
69 |
+
validation_epochs: 25
|
70 |
+
validation_prompt: A photo of sks dog in a bucket
|
71 |
+
variant: null
|
72 |
+
weighting_scheme: none
|
73 |
+
with_prior_preservation: false
|
logs/dreambooth-flux-dev-lora/1732794761.328809/events.out.tfevents.1732794761.node-0.1933430.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2c220e4bea8fd6599b0d447e13dfb2a31e8515a53f29834f93a94dbf49dffd7e
|
3 |
+
size 3314
|
logs/dreambooth-flux-dev-lora/1732794761.3309672/hparams.yml
ADDED
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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: 4
|
19 |
+
gradient_checkpointing: false
|
20 |
+
guidance_scale: 1.0
|
21 |
+
hub_model_id: null
|
22 |
+
hub_token: null
|
23 |
+
image_column: image
|
24 |
+
instance_data_dir: dog
|
25 |
+
instance_prompt: a photo of sks dog
|
26 |
+
learning_rate: 1.0
|
27 |
+
local_rank: 0
|
28 |
+
logging_dir: logs
|
29 |
+
logit_mean: 0.0
|
30 |
+
logit_std: 1.0
|
31 |
+
lora_layers: null
|
32 |
+
lr_num_cycles: 1
|
33 |
+
lr_power: 1.0
|
34 |
+
lr_scheduler: constant
|
35 |
+
lr_warmup_steps: 0
|
36 |
+
max_grad_norm: 1.0
|
37 |
+
max_sequence_length: 512
|
38 |
+
max_train_steps: 100
|
39 |
+
mixed_precision: bf16
|
40 |
+
mode_scale: 1.29
|
41 |
+
num_class_images: 100
|
42 |
+
num_train_epochs: 100
|
43 |
+
num_validation_images: 4
|
44 |
+
optimizer: prodigy
|
45 |
+
output_dir: trained-dreambooth-flux-lora
|
46 |
+
pretrained_model_name_or_path: black-forest-labs/FLUX.1-dev
|
47 |
+
prior_generation_precision: null
|
48 |
+
prior_loss_weight: 1.0
|
49 |
+
prodigy_beta3: null
|
50 |
+
prodigy_decouple: true
|
51 |
+
prodigy_safeguard_warmup: true
|
52 |
+
prodigy_use_bias_correction: true
|
53 |
+
push_to_hub: true
|
54 |
+
random_flip: false
|
55 |
+
rank: 4
|
56 |
+
repeats: 1
|
57 |
+
report_to: tensorboard
|
58 |
+
resolution: 512
|
59 |
+
resume_from_checkpoint: null
|
60 |
+
revision: null
|
61 |
+
sample_batch_size: 4
|
62 |
+
scale_lr: false
|
63 |
+
seed: 0
|
64 |
+
text_encoder_lr: 5.0e-06
|
65 |
+
train_batch_size: 1
|
66 |
+
train_text_encoder: false
|
67 |
+
upcast_before_saving: false
|
68 |
+
use_8bit_adam: false
|
69 |
+
validation_epochs: 25
|
70 |
+
validation_prompt: A photo of sks dog in a bucket
|
71 |
+
variant: null
|
72 |
+
weighting_scheme: none
|
73 |
+
with_prior_preservation: false
|
logs/dreambooth-flux-dev-lora/events.out.tfevents.1732789944.node-0.1907557.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:16a10de50f55f0ed510ef11f9472c46bfe1d24743cc24c5d2cefa3128816df7d
|
3 |
+
size 170
|
logs/dreambooth-flux-dev-lora/events.out.tfevents.1732794422.node-0.1930651.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5f99eac8a2306fcec872bfbd7cf9c47e044ebbc10ab9a9c4c9c8b61d2398438e
|
3 |
+
size 170
|
logs/dreambooth-flux-dev-lora/events.out.tfevents.1732794761.node-0.1933430.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ba44cafdbe61166600907678618b3a3f00205258476752a657cb3b925271dde1
|
3 |
+
size 25185700
|
pytorch_lora_weights.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:46ec0b40ed22c09ba17574d42117b47f7a7d1640176dc07767dd8e0fad8c3e80
|
3 |
+
size 22504080
|