End of training
Browse files
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 <leaf microstructure>
|
| 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 - mjbuehler/trained_flux_V3
|
| 22 |
+
|
| 23 |
+
<Gallery />
|
| 24 |
+
|
| 25 |
+
## Model description
|
| 26 |
+
|
| 27 |
+
These are mjbuehler/trained_flux_V3 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 <leaf microstructure>` to trigger the image generation.
|
| 36 |
+
|
| 37 |
+
## Download model
|
| 38 |
+
|
| 39 |
+
[Download the *.safetensors LoRA](mjbuehler/trained_flux_V3/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('mjbuehler/trained_flux_V3', weight_name='pytorch_lora_weights.safetensors')
|
| 48 |
+
image = pipeline('a photo of <leaf microstructure>').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
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6b0bdbab455bc5e96bd3379304dfd3e8f2fdaf63e1887e7a80900a035f412468
|
| 3 |
+
size 18996742
|
checkpoint-500/pytorch_lora_weights.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 9388696
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:defa029fce4e1e9bcd66edad8b6548f0832e453c8608aa9c05df1e7762f8d572
|
| 3 |
size 9388696
|
checkpoint-500/random_states_0.pkl
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 14344
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:05abb388a8bd14c1cb8e85e157735da7298c84feb62bc17200faa50cbd13ea39
|
| 3 |
size 14344
|
pytorch_lora_weights.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 18727592
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:46633a36db71d3962748eb2ac268983652407ea17785fabd7792d4152e775f4c
|
| 3 |
size 18727592
|