upload model
Browse files- README.md +77 -0
- image_0.png +0 -0
- image_1.png +0 -0
- image_2.png +0 -0
- image_3.png +0 -0
- pytorch_lora_weights.safetensors +3 -0
README.md
ADDED
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: FLUX
|
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 |
+
widget:
|
14 |
+
- text: ' '
|
15 |
+
output:
|
16 |
+
url: image_0.png
|
17 |
+
- text: ' '
|
18 |
+
output:
|
19 |
+
url: image_1.png
|
20 |
+
- text: ' '
|
21 |
+
output:
|
22 |
+
url: image_2.png
|
23 |
+
- text: ' '
|
24 |
+
output:
|
25 |
+
url: image_3.png
|
26 |
+
---
|
27 |
+
|
28 |
+
<!-- This model card has been generated automatically according to the information the training script had access to. You
|
29 |
+
should probably proofread and complete it, then remove this comment. -->
|
30 |
+
|
31 |
+
|
32 |
+
# Flux DreamBooth LoRA - ashen0209/flux-lora-wlop
|
33 |
+
|
34 |
+
<Gallery />
|
35 |
+
|
36 |
+
## Model description
|
37 |
+
|
38 |
+
These are ashen0209/flux-lora-wlop LoRA weights for FLUX.
|
39 |
+
|
40 |
+
The model is trained based on https://huggingface.co/ashen0209/Flux-Dev2Pro (using this model to train a LoRA produces a better result), but please do not apply the LoRA on my trained model. Just use it on original Flux-dev.
|
41 |
+
|
42 |
+
## Download model
|
43 |
+
|
44 |
+
[Download the *.safetensors LoRA](ashen0209/flux-lora-wlop/tree/main) in the Files & versions tab.
|
45 |
+
|
46 |
+
## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
|
47 |
+
|
48 |
+
```py
|
49 |
+
from diffusers import AutoPipelineForText2Image
|
50 |
+
import torch
|
51 |
+
pipeline = AutoPipelineForText2Image.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16).to('cuda')
|
52 |
+
pipeline.load_lora_weights('ashen0209/flux-lora-wlop', weight_name='pytorch_lora_weights.safetensors')
|
53 |
+
image = pipeline('a portrait of a woman').images[0]
|
54 |
+
```
|
55 |
+
|
56 |
+
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)
|
57 |
+
|
58 |
+
## License
|
59 |
+
|
60 |
+
Please adhere to the licensing terms as described [here](https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md).
|
61 |
+
|
62 |
+
|
63 |
+
## Intended uses & limitations
|
64 |
+
|
65 |
+
#### How to use
|
66 |
+
|
67 |
+
```python
|
68 |
+
# TODO: add an example code snippet for running this diffusion pipeline
|
69 |
+
```
|
70 |
+
|
71 |
+
#### Limitations and bias
|
72 |
+
|
73 |
+
[TODO: provide examples of latent issues and potential remediations]
|
74 |
+
|
75 |
+
## Training details
|
76 |
+
|
77 |
+
[TODO: describe the data used to train the model]
|
image_0.png
ADDED
image_1.png
ADDED
image_2.png
ADDED
image_3.png
ADDED
pytorch_lora_weights.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b86724dc273ad2f6379730d1570b3b7b711fd5c99cdad868a3ec92eeec86c77b
|
3 |
+
size 18727976
|