prithivMLmods
commited on
Commit
•
5b78d63
1
Parent(s):
b5d775a
Update README.md
Browse files
README.md
CHANGED
@@ -4,6 +4,7 @@ tags:
|
|
4 |
- lora
|
5 |
- diffusers
|
6 |
- template:diffusion-lora
|
|
|
7 |
widget:
|
8 |
- text: '-'
|
9 |
output:
|
@@ -16,14 +17,57 @@ license: creativeml-openrail-m
|
|
16 |
|
17 |
<Gallery />
|
18 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
|
20 |
## Trigger words
|
21 |
|
22 |
You should use `Purple Grid` 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/Purple-Grid-Flux-LoRA/tree/main) them in the Files & versions tab.
|
|
|
4 |
- lora
|
5 |
- diffusers
|
6 |
- template:diffusion-lora
|
7 |
+
- Grid
|
8 |
widget:
|
9 |
- text: '-'
|
10 |
output:
|
|
|
17 |
|
18 |
<Gallery />
|
19 |
|
20 |
+
- Hosted Here🧨: https://huggingface.co/spaces/prithivMLmods/FLUX-LoRA-DLC
|
21 |
+
|
22 |
+
**The model is still in the training phase. This is not the final version and may contain artifacts and perform poorly in some cases.**
|
23 |
+
|
24 |
+
## Model description
|
25 |
+
|
26 |
+
**prithivMLmods/Purple-Grid-Flux-LoRA**
|
27 |
+
|
28 |
+
Image Processing Parameters
|
29 |
+
|
30 |
+
| Parameter | Value | Parameter | Value |
|
31 |
+
|---------------------------|--------|---------------------------|--------|
|
32 |
+
| LR Scheduler | constant | Noise Offset | 0.03 |
|
33 |
+
| Optimizer | AdamW | Multires Noise Discount | 0.1 |
|
34 |
+
| Network Dim | 64 | Multires Noise Iterations | 10 |
|
35 |
+
| Network Alpha | 32 | Repeat & Steps | 24 & 2750|
|
36 |
+
| Epoch | 17 | Save Every N Epochs | 1 |
|
37 |
+
|
38 |
+
Labeling: florence2-en(natural language & English)
|
39 |
+
|
40 |
+
Total Images Used for Training : 14
|
41 |
+
|
42 |
+
## Best Dimensions
|
43 |
+
|
44 |
+
- 1024 x 1024 (Default)
|
45 |
+
|
46 |
+
## Setting Up
|
47 |
+
```
|
48 |
+
import torch
|
49 |
+
from pipelines import DiffusionPipeline
|
50 |
+
|
51 |
+
base_model = "black-forest-labs/FLUX.1-dev"
|
52 |
+
pipe = DiffusionPipeline.from_pretrained(base_model, torch_dtype=torch.bfloat16)
|
53 |
+
|
54 |
+
lora_repo = "prithivMLmods/Purple-Grid-Flux-LoRA"
|
55 |
+
trigger_word = "Purple Grid"
|
56 |
+
pipe.load_lora_weights(lora_repo)
|
57 |
+
|
58 |
+
device = torch.device("cuda")
|
59 |
+
pipe.to(device)
|
60 |
+
```
|
61 |
+
## Data source
|
62 |
+
|
63 |
+
- https://freeflo.ai/
|
64 |
|
65 |
## Trigger words
|
66 |
|
67 |
You should use `Purple Grid` to trigger the image generation.
|
68 |
|
|
|
69 |
## Download model
|
70 |
|
71 |
Weights for this model are available in Safetensors format.
|
72 |
|
73 |
+
[Download](/prithivMLmods/Purple-Grid-Flux-LoRA/tree/main) them in the Files & versions tab.
|