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
- checkpoint-1500/optimizer.bin +3 -0
- checkpoint-1500/pytorch_lora_weights.safetensors +3 -0
- checkpoint-1500/random_states_0.pkl +3 -0
- checkpoint-1500/scheduler.bin +3 -0
- checkpoint-2000/optimizer.bin +3 -0
- checkpoint-2000/pytorch_lora_weights.safetensors +3 -0
- checkpoint-2000/random_states_0.pkl +3 -0
- checkpoint-2000/scheduler.bin +3 -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/1742890538.8264885/events.out.tfevents.1742890538.192-222-56-88.79271.1 +3 -0
- logs/dreambooth-flux-dev-lora/1742890538.8354762/hparams.yml +73 -0
- logs/dreambooth-flux-dev-lora/events.out.tfevents.1742890538.192-222-56-88.79271.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 |
+
instance_prompt: a photo of xjiminx
|
| 6 |
+
widget: []
|
| 7 |
+
tags:
|
| 8 |
+
- text-to-image
|
| 9 |
+
- diffusers-training
|
| 10 |
+
- diffusers
|
| 11 |
+
- lora
|
| 12 |
+
- flux
|
| 13 |
+
- flux-diffusers
|
| 14 |
+
- template:sd-lora
|
| 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 - xgemstarx/subset_128_step_2048_model
|
| 22 |
+
|
| 23 |
+
<Gallery />
|
| 24 |
+
|
| 25 |
+
## Model description
|
| 26 |
+
|
| 27 |
+
These are xgemstarx/subset_128_step_2048_model 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 xjiminx` to trigger the image generation.
|
| 36 |
+
|
| 37 |
+
## Download model
|
| 38 |
+
|
| 39 |
+
[Download the *.safetensors LoRA](xgemstarx/subset_128_step_2048_model/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('xgemstarx/subset_128_step_2048_model', weight_name='pytorch_lora_weights.safetensors')
|
| 48 |
+
image = pipeline('a photo of xjiminx').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:9ec66147a4a086a0f36862d23a898d9ae96c1443fa425d6e5fa70eba978f50e0
|
| 3 |
+
size 79235394
|
checkpoint-1000/pytorch_lora_weights.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e3ee1af672fd00a13761934cc166fda24a4e2bafd494adc9c0397d482fa2163f
|
| 3 |
+
size 22504080
|
checkpoint-1000/random_states_0.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8ccd13b5bb551dc7ac223c89daba1a135a88fc4730e8efa370d3964808831e61
|
| 3 |
+
size 14344
|
checkpoint-1000/scheduler.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9e55c075b40ce3ab6db2c27ecf3b4c90bc4e612fff3a226e651c44881d6a2404
|
| 3 |
+
size 1000
|
checkpoint-1500/optimizer.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:10bc9a1ba1b688b3b8e765d3dd431d52a751baa35ce2196342a2633ae8997b67
|
| 3 |
+
size 79235394
|
checkpoint-1500/pytorch_lora_weights.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b943503c9813c8e0acaa84125406b93378957502006ae9956a4a317456e85f5f
|
| 3 |
+
size 22504080
|
checkpoint-1500/random_states_0.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9bba8a24b4466df90a110b68a5aa8ed8c6695db6e39efe087968a1e60c86c431
|
| 3 |
+
size 14344
|
checkpoint-1500/scheduler.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ab46152b551fb24cef10d97aece42dc7616a1a1b456640ac3f526f7abac6e0e3
|
| 3 |
+
size 1000
|
checkpoint-2000/optimizer.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1c66d65f89614869a14b53afa28b171e09785d84b86f5c3443a238b890f38638
|
| 3 |
+
size 79235394
|
checkpoint-2000/pytorch_lora_weights.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e5f6af70601a6c8384aba27e414ee169e79979760ed035ef1fdec8b24cbfd32e
|
| 3 |
+
size 22504080
|
checkpoint-2000/random_states_0.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:67dde29cc0d5e7ebad3683be645711975d2c95e23ccd61cdfeafdd4b21d9e096
|
| 3 |
+
size 14344
|
checkpoint-2000/scheduler.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:493642aa6dcb7f188f018b7691aba9287429fa60e412f5f63a1430602afc2557
|
| 3 |
+
size 1000
|
checkpoint-500/optimizer.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fc4ed1fbbd0ee985cecca98836ca9b19b760749b8a9bdddcb9ebeda6a0187dbd
|
| 3 |
+
size 79235394
|
checkpoint-500/pytorch_lora_weights.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4e01a23f4079328ff26acae88d62a1862c51560ad844831e2f882a3afea46a51
|
| 3 |
+
size 22504080
|
checkpoint-500/random_states_0.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:067972f64c7f6a2e6b0e7bed9c6e5a79ee772f3af3e46a3a6916c9b5af4e8f15
|
| 3 |
+
size 14344
|
checkpoint-500/scheduler.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d64e43d780f79b2c41c77b3638f3da55c2a3273c6e72a559cfe6fb2b05479b63
|
| 3 |
+
size 1000
|
logs/dreambooth-flux-dev-lora/1742890538.8264885/events.out.tfevents.1742890538.192-222-56-88.79271.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2b0f820a6721e686c4d73da8cd7c223ab0466d805f1b5a621bb9094512f41fb0
|
| 3 |
+
size 3241
|
logs/dreambooth-flux-dev-lora/1742890538.8354762/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: subset_128
|
| 25 |
+
instance_prompt: a photo of xjiminx
|
| 26 |
+
learning_rate: 1.0
|
| 27 |
+
local_rank: -1
|
| 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: 2048
|
| 39 |
+
mixed_precision: bf16
|
| 40 |
+
mode_scale: 1.29
|
| 41 |
+
num_class_images: 100
|
| 42 |
+
num_train_epochs: 64
|
| 43 |
+
num_validation_images: 4
|
| 44 |
+
optimizer: prodigy
|
| 45 |
+
output_dir: subset_128_step_2048_model
|
| 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: 50
|
| 70 |
+
validation_prompt: null
|
| 71 |
+
variant: null
|
| 72 |
+
weighting_scheme: none
|
| 73 |
+
with_prior_preservation: false
|
logs/dreambooth-flux-dev-lora/events.out.tfevents.1742890538.192-222-56-88.79271.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4e78ce31a2a6eb581748e4ac25028dd161b27a44d861fc62aa587eae27e23b51
|
| 3 |
+
size 687182
|
pytorch_lora_weights.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1c232dea8a0425d58f50ec1df8b64f1325db89fde71a985e0c1a43b9c38dd459
|
| 3 |
+
size 22504080
|