prithivMLmods
commited on
Commit
•
fb06d81
1
Parent(s):
0892fb2
Update README.md
Browse files
README.md
CHANGED
@@ -4,10 +4,17 @@ tags:
|
|
4 |
- lora
|
5 |
- diffusers
|
6 |
- template:diffusion-lora
|
|
|
7 |
widget:
|
8 |
-
- text: '
|
9 |
output:
|
10 |
-
url: images/
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
base_model: black-forest-labs/FLUX.1-dev
|
12 |
instance_prompt: Pastel BG
|
13 |
license: creativeml-openrail-m
|
@@ -16,14 +23,53 @@ license: creativeml-openrail-m
|
|
16 |
|
17 |
<Gallery />
|
18 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
## Trigger words
|
21 |
|
22 |
You should use `Pastel BG` to trigger the image generation.
|
23 |
|
24 |
-
|
25 |
## Download model
|
26 |
|
27 |
Weights for this model are available in Safetensors format.
|
28 |
|
29 |
-
[Download](/prithivMLmods/Pastel-BG-Flux-LoRA/tree/main) them in the Files & versions tab.
|
|
|
4 |
- lora
|
5 |
- diffusers
|
6 |
- template:diffusion-lora
|
7 |
+
- Pastel
|
8 |
widget:
|
9 |
+
- text: 'Pastel BG, a young woman with brown hair and blue eyes stands in front of a colorful backdrop. The womans face is adorned with freckles, adding a pop of color to her outfit. The backdrop is a vibrant shade of purple, with yellow stars and stripes on it.'
|
10 |
output:
|
11 |
+
url: images/PB1.png
|
12 |
+
- text: 'Pastel BG, An eye-level view of a gray tabby cat with long white whiskers and a pink nose. The cats head is tilted slightly to the right, and its eyes are wide open. Its ears are pointed up, and the cats fur is a mix of gray and black. The background is a combination of pink, purple, and yellow, with white dots dotting the background. To the left of the cat, there is a purple star with a white butterfly on it.'
|
13 |
+
output:
|
14 |
+
url: images/PB2.png
|
15 |
+
- text: 'Pastel BG, a man stands in front of a colorful backdrop. He is dressed in a light pink suit jacket, a yellow collared shirt, and a pair of sunglasses. His hair is styled in a short bob, and his eyes are slightly open. His lips are slightly parted, as if he is looking to the right. The backdrop is a combination of pink, yellow, and green, with small white stars on the right side of the wall.'
|
16 |
+
output:
|
17 |
+
url: images/PB3.png
|
18 |
base_model: black-forest-labs/FLUX.1-dev
|
19 |
instance_prompt: Pastel BG
|
20 |
license: creativeml-openrail-m
|
|
|
23 |
|
24 |
<Gallery />
|
25 |
|
26 |
+
- Hosted Here🧨: https://huggingface.co/spaces/prithivMLmods/FLUX-LoRA-DLC
|
27 |
+
|
28 |
+
**The model is still in the training phase. This is not the final version and may contain artifacts and perform poorly in some cases.**
|
29 |
+
|
30 |
+
## Model description
|
31 |
+
|
32 |
+
**prithivMLmods/Pastel-BG-Flux-LoRA**
|
33 |
+
|
34 |
+
Image Processing Parameters
|
35 |
|
36 |
+
| Parameter | Value | Parameter | Value |
|
37 |
+
|---------------------------|--------|---------------------------|--------|
|
38 |
+
| LR Scheduler | constant | Noise Offset | 0.03 |
|
39 |
+
| Optimizer | AdamW | Multires Noise Discount | 0.1 |
|
40 |
+
| Network Dim | 64 | Multires Noise Iterations | 10 |
|
41 |
+
| Network Alpha | 32 | Repeat & Steps | 28 & 3340|
|
42 |
+
| Epoch | 15 | Save Every N Epochs | 1 |
|
43 |
+
|
44 |
+
Labeling: florence2-en(natural language & English)
|
45 |
+
|
46 |
+
Total Images Used for Training : 18 [ Hi-RES ]
|
47 |
+
|
48 |
+
## Best Dimensions
|
49 |
+
|
50 |
+
- 1024 x 1024 (Default)
|
51 |
+
|
52 |
+
## Setting Up
|
53 |
+
```
|
54 |
+
import torch
|
55 |
+
from pipelines import DiffusionPipeline
|
56 |
+
|
57 |
+
base_model = "black-forest-labs/FLUX.1-dev"
|
58 |
+
pipe = DiffusionPipeline.from_pretrained(base_model, torch_dtype=torch.bfloat16)
|
59 |
+
|
60 |
+
lora_repo = "prithivMLmods/Pastel-BG-Flux-LoRA"
|
61 |
+
trigger_word = "Pastel BG"
|
62 |
+
pipe.load_lora_weights(lora_repo)
|
63 |
+
|
64 |
+
device = torch.device("cuda")
|
65 |
+
pipe.to(device)
|
66 |
+
```
|
67 |
## Trigger words
|
68 |
|
69 |
You should use `Pastel BG` to trigger the image generation.
|
70 |
|
|
|
71 |
## Download model
|
72 |
|
73 |
Weights for this model are available in Safetensors format.
|
74 |
|
75 |
+
[Download](/prithivMLmods/Pastel-BG-Flux-LoRA/tree/main) them in the Files & versions tab.
|