End of training
Browse files- README.md +72 -0
- checkpoint-500/optimizer.bin +3 -0
- checkpoint-500/pytorch_lora_weights.safetensors +3 -0
- checkpoint-500/random_states_0.pkl +3 -0
- checkpoint-500/scheduler.bin +3 -0
- logs/dreambooth-flux-dev-lora/1723548593.1016932/events.out.tfevents.1723548593.827889b4ff72.935.1 +3 -0
- logs/dreambooth-flux-dev-lora/1723548593.1348946/hparams.yml +70 -0
- logs/dreambooth-flux-dev-lora/1723549313.6672819/events.out.tfevents.1723549313.827889b4ff72.3132.1 +3 -0
- logs/dreambooth-flux-dev-lora/1723549313.6851246/hparams.yml +70 -0
- logs/dreambooth-flux-dev-lora/1723549863.7589488/events.out.tfevents.1723549863.827889b4ff72.3365.1 +3 -0
- logs/dreambooth-flux-dev-lora/1723549863.7768025/hparams.yml +70 -0
- logs/dreambooth-flux-dev-lora/events.out.tfevents.1723548593.827889b4ff72.935.0 +3 -0
- logs/dreambooth-flux-dev-lora/events.out.tfevents.1723549313.827889b4ff72.3132.0 +3 -0
- logs/dreambooth-flux-dev-lora/events.out.tfevents.1723549863.827889b4ff72.3365.0 +3 -0
- pytorch_lora_weights.safetensors +3 -0
README.md
ADDED
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: black-forest-labs/FLUX.1-dev
|
3 |
+
library_name: diffusers
|
4 |
+
license: other
|
5 |
+
tags:
|
6 |
+
- text-to-image
|
7 |
+
- diffusers-training
|
8 |
+
- diffusers
|
9 |
+
- lora
|
10 |
+
- flux
|
11 |
+
- flux-diffusers
|
12 |
+
- template:sd-lora
|
13 |
+
instance_prompt: a photo of sks man
|
14 |
+
widget: []
|
15 |
+
---
|
16 |
+
|
17 |
+
<!-- This model card has been generated automatically according to the information the training script had access to. You
|
18 |
+
should probably proofread and complete it, then remove this comment. -->
|
19 |
+
|
20 |
+
|
21 |
+
# Flux DreamBooth LoRA - markd/trained-flux-lora
|
22 |
+
|
23 |
+
<Gallery />
|
24 |
+
|
25 |
+
## Model description
|
26 |
+
|
27 |
+
These are markd/trained-flux-lora DreamBooth LoRA weights for black-forest-labs/FLUX.1-dev.
|
28 |
+
|
29 |
+
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).
|
30 |
+
|
31 |
+
Was LoRA for the text encoder enabled? False.
|
32 |
+
|
33 |
+
## Trigger words
|
34 |
+
|
35 |
+
You should use `a photo of sks man` to trigger the image generation.
|
36 |
+
|
37 |
+
## Download model
|
38 |
+
|
39 |
+
[Download the *.safetensors LoRA](markd/trained-flux-lora/tree/main) in the Files & versions tab.
|
40 |
+
|
41 |
+
## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
|
42 |
+
|
43 |
+
```py
|
44 |
+
from diffusers import AutoPipelineForText2Image
|
45 |
+
import torch
|
46 |
+
pipeline = AutoPipelineForText2Image.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16).to('cuda')
|
47 |
+
pipeline.load_lora_weights('markd/trained-flux-lora', weight_name='pytorch_lora_weights.safetensors')
|
48 |
+
image = pipeline('a photo of sks man').images[0]
|
49 |
+
```
|
50 |
+
|
51 |
+
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)
|
52 |
+
|
53 |
+
## License
|
54 |
+
|
55 |
+
Please adhere to the licensing terms as described [here](https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md).
|
56 |
+
|
57 |
+
|
58 |
+
## Intended uses & limitations
|
59 |
+
|
60 |
+
#### How to use
|
61 |
+
|
62 |
+
```python
|
63 |
+
# TODO: add an example code snippet for running this diffusion pipeline
|
64 |
+
```
|
65 |
+
|
66 |
+
#### Limitations and bias
|
67 |
+
|
68 |
+
[TODO: provide examples of latent issues and potential remediations]
|
69 |
+
|
70 |
+
## Training details
|
71 |
+
|
72 |
+
[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:3c0c5b5ab0a2f429f3ba90236f6706b6d0b24bbec5ecaddad72c6be41061cfe8
|
3 |
+
size 18996742
|
checkpoint-500/pytorch_lora_weights.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:153a299d1d3d7934ca361ee00d014af8adc384c7c6996fd953c13848ac0a0c57
|
3 |
+
size 9388696
|
checkpoint-500/random_states_0.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:90a1a9ebb77ed33ab07870e19be152ff45149b284d1050d9ef71af37b78217c4
|
3 |
+
size 14344
|
checkpoint-500/scheduler.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:68d7b85c46d195e3cd6e587d94878d77f315e0a073acfab811251f39fbe891fc
|
3 |
+
size 1000
|
logs/dreambooth-flux-dev-lora/1723548593.1016932/events.out.tfevents.1723548593.827889b4ff72.935.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4a620b0e2b4c7c180a8894d019044fd1c121f76a4e3a531ab8fc4fd76568b1a1
|
3 |
+
size 3189
|
logs/dreambooth-flux-dev-lora/1723548593.1348946/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: 500
|
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 |
+
guidance_scale: 3.5
|
20 |
+
hub_model_id: null
|
21 |
+
hub_token: null
|
22 |
+
image_column: image
|
23 |
+
instance_data_dir: mark_photos
|
24 |
+
instance_prompt: a photo of sks man
|
25 |
+
learning_rate: 1.0e-05
|
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: 512
|
36 |
+
max_train_steps: 500
|
37 |
+
mixed_precision: bf16
|
38 |
+
mode_scale: 1.29
|
39 |
+
num_class_images: 100
|
40 |
+
num_train_epochs: 125
|
41 |
+
num_validation_images: 4
|
42 |
+
optimizer: AdamW
|
43 |
+
output_dir: trained-flux-lora
|
44 |
+
pretrained_model_name_or_path: black-forest-labs/FLUX.1-dev
|
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: 0
|
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 sks man
|
68 |
+
variant: null
|
69 |
+
weighting_scheme: none
|
70 |
+
with_prior_preservation: false
|
logs/dreambooth-flux-dev-lora/1723549313.6672819/events.out.tfevents.1723549313.827889b4ff72.3132.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1c891825bcdffadee04c907264afdc85697ba5f836a39d332cf9859e5bb8e274
|
3 |
+
size 3207
|
logs/dreambooth-flux-dev-lora/1723549313.6851246/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: 500
|
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 |
+
guidance_scale: 3.5
|
20 |
+
hub_model_id: null
|
21 |
+
hub_token: null
|
22 |
+
image_column: image
|
23 |
+
instance_data_dir: mark_photos
|
24 |
+
instance_prompt: a photo of sks man
|
25 |
+
learning_rate: 1.0e-05
|
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: 512
|
36 |
+
max_train_steps: 500
|
37 |
+
mixed_precision: bf16
|
38 |
+
mode_scale: 1.29
|
39 |
+
num_class_images: 100
|
40 |
+
num_train_epochs: 125
|
41 |
+
num_validation_images: 4
|
42 |
+
optimizer: AdamW
|
43 |
+
output_dir: trained-flux-lora
|
44 |
+
pretrained_model_name_or_path: black-forest-labs/FLUX.1-dev
|
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: 0
|
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 sks man playing the piano
|
68 |
+
variant: null
|
69 |
+
weighting_scheme: none
|
70 |
+
with_prior_preservation: false
|
logs/dreambooth-flux-dev-lora/1723549863.7589488/events.out.tfevents.1723549863.827889b4ff72.3365.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:28b6bbbe08001a528b72b199f8f98194f435a167fa01c452626eee177da73d31
|
3 |
+
size 3123
|
logs/dreambooth-flux-dev-lora/1723549863.7768025/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: 500
|
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 |
+
guidance_scale: 3.5
|
20 |
+
hub_model_id: null
|
21 |
+
hub_token: null
|
22 |
+
image_column: image
|
23 |
+
instance_data_dir: mark_photos
|
24 |
+
instance_prompt: a photo of sks man
|
25 |
+
learning_rate: 1.0e-05
|
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: 512
|
36 |
+
max_train_steps: 500
|
37 |
+
mixed_precision: bf16
|
38 |
+
mode_scale: 1.29
|
39 |
+
num_class_images: 100
|
40 |
+
num_train_epochs: 125
|
41 |
+
num_validation_images: 4
|
42 |
+
optimizer: AdamW
|
43 |
+
output_dir: trained-flux-lora
|
44 |
+
pretrained_model_name_or_path: black-forest-labs/FLUX.1-dev
|
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: 0
|
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: 50
|
67 |
+
validation_prompt: null
|
68 |
+
variant: null
|
69 |
+
weighting_scheme: none
|
70 |
+
with_prior_preservation: false
|
logs/dreambooth-flux-dev-lora/events.out.tfevents.1723548593.827889b4ff72.935.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7e0ac4c0d2c0c173f97ad02566678b567df5f0cdf8971ddd771426efc82a572e
|
3 |
+
size 1306
|
logs/dreambooth-flux-dev-lora/events.out.tfevents.1723549313.827889b4ff72.3132.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:64e2c2bdeb1fa1e4c9db0f13944fd7259a002b1e86196685e62841e5224664a8
|
3 |
+
size 1306
|
logs/dreambooth-flux-dev-lora/events.out.tfevents.1723549863.827889b4ff72.3365.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:22f5580ffb123a33a37d430730462208d624e2c0637373896e22898c48528806
|
3 |
+
size 156618
|
pytorch_lora_weights.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6ed85642626b9c5927722c33daf93f09242937d743f0c9220c12ef2142dd469a
|
3 |
+
size 18727592
|