End of training
Browse files- README.md +72 -0
- checkpoint-1000/optimizer.bin +3 -0
- checkpoint-1000/pytorch_lora_weights.safetensors +3 -0
- checkpoint-1000/random_states_0.pkl +3 -0
- checkpoint-1000/scheduler.bin +3 -0
- logs/dreambooth-flux-dev-lora/1726136818.7093434/events.out.tfevents.1726136818.dreambooth-pipeline-023466583292643664bc19e97ecfd239-train-mode.60.1 +3 -0
- logs/dreambooth-flux-dev-lora/1726136818.7108507/hparams.yml +70 -0
- logs/dreambooth-flux-dev-lora/events.out.tfevents.1726136818.dreambooth-pipeline-023466583292643664bc19e97ecfd239-train-mode.60.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 portrait photo of sks blupus the cat
|
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 - strickvl/flux-dreambooth-blupus
|
22 |
+
|
23 |
+
<Gallery />
|
24 |
+
|
25 |
+
## Model description
|
26 |
+
|
27 |
+
These are strickvl/flux-dreambooth-blupus 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 portrait photo of sks blupus the cat` to trigger the image generation.
|
36 |
+
|
37 |
+
## Download model
|
38 |
+
|
39 |
+
[Download the *.safetensors LoRA](strickvl/flux-dreambooth-blupus/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('strickvl/flux-dreambooth-blupus', weight_name='pytorch_lora_weights.safetensors')
|
48 |
+
image = pipeline('A portrait photo of sks blupus the cat').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-1000/optimizer.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2298f398d96b8dd3a4e69b08ba9e3ff6392204428babb4eff36ff11340ce1feb
|
3 |
+
size 149742598
|
checkpoint-1000/pytorch_lora_weights.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6e37138a522e1a7f534c0e5d9c13cc6b95f82f235b1de973d559343af4afb616
|
3 |
+
size 74761976
|
checkpoint-1000/random_states_0.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e892329938b09edf546f7622c81354ab08c78f317665649b7a6cb6bdb4f4f0ef
|
3 |
+
size 14604
|
checkpoint-1000/scheduler.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d616614e1e01b98e9884f977ff35eabdf257036598f3dd80b10d601a3bca7808
|
3 |
+
size 1000
|
logs/dreambooth-flux-dev-lora/1726136818.7093434/events.out.tfevents.1726136818.dreambooth-pipeline-023466583292643664bc19e97ecfd239-train-mode.60.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4054a41a8f30892490252dc92b7b8b5dbbff2e609973e44ffa741c339c34b499
|
3 |
+
size 3149
|
logs/dreambooth-flux-dev-lora/1726136818.7108507/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: 1
|
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: /tmp/blupus/
|
24 |
+
instance_prompt: A portrait photo of sks blupus the cat
|
25 |
+
learning_rate: 0.0002
|
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: 1300
|
37 |
+
mixed_precision: bf16
|
38 |
+
mode_scale: 1.29
|
39 |
+
num_class_images: 100
|
40 |
+
num_train_epochs: 77
|
41 |
+
num_validation_images: 4
|
42 |
+
optimizer: AdamW
|
43 |
+
output_dir: flux-dreambooth-blupus
|
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: 32
|
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: 117
|
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.1726136818.dreambooth-pipeline-023466583292643664bc19e97ecfd239-train-mode.60.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8bee2769c50d1e93b460823d457b0cba9ab32a1e0aca5e011c77169ad1887808
|
3 |
+
size 109034
|
pytorch_lora_weights.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1b8786528ca7d3b01f6599bbbed3e3a369705c9c7121d6cc8dd4ee396e6c26c9
|
3 |
+
size 149472944
|