prithivMLmods
commited on
Commit
•
e74dfcf
1
Parent(s):
8045a97
Update README.md
Browse files
README.md
CHANGED
@@ -22,7 +22,57 @@ license: creativeml-openrail-m
|
|
22 |
|
23 |
<Gallery />
|
24 |
|
|
|
25 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
## Trigger words
|
27 |
|
28 |
You should use `Only Sticker` to trigger the image generation.
|
|
|
22 |
|
23 |
<Gallery />
|
24 |
|
25 |
+
- Available here🧨: https://huggingface.co/spaces/prithivMLmods/FLUX-LoRA-DLC
|
26 |
|
27 |
+
**The model is still in the training phase. This is not the final version and may contain artifacts and perform poorly in some cases.**
|
28 |
+
|
29 |
+
## Model description
|
30 |
+
|
31 |
+
**prithivMLmods/Ton618-Only-Stickers-Flux-LoRA**
|
32 |
+
|
33 |
+
Image Processing Parameters
|
34 |
+
|
35 |
+
| Parameter | Value | Parameter | Value |
|
36 |
+
|---------------------------|--------|---------------------------|--------|
|
37 |
+
| LR Scheduler | constant | Noise Offset | 0.03 |
|
38 |
+
| Optimizer | AdamW | Multires Noise Discount | 0.1 |
|
39 |
+
| Network Dim | 64 | Multires Noise Iterations | 10 |
|
40 |
+
| Network Alpha | 32 | Repeat & Steps | 24 & 2.9K |
|
41 |
+
| Epoch | 15 | Save Every N Epochs | 1 |
|
42 |
+
|
43 |
+
Labeling: florence2-en(natural language & English)
|
44 |
+
|
45 |
+
Total Images Used for Training : 15 [ Hi-RES ]
|
46 |
+
|
47 |
+
## Best Dimensions
|
48 |
+
|
49 |
+
- 1024 x 1024 (Default)
|
50 |
+
- 768 x 1024
|
51 |
+
|
52 |
+
## Sample 1024 x 1024
|
53 |
+
|
54 |
+
![prithivMLmods/Ton618-Only-Stickers-Flux-LoRA](images/444.png)
|
55 |
+
|
56 |
+
## Setting Up
|
57 |
+
```
|
58 |
+
import torch
|
59 |
+
from pipelines import DiffusionPipeline
|
60 |
+
|
61 |
+
base_model = "black-forest-labs/FLUX.1-dev"
|
62 |
+
pipe = DiffusionPipeline.from_pretrained(base_model, torch_dtype=torch.bfloat16)
|
63 |
+
|
64 |
+
lora_repo = "prithivMLmods/Ton618-Only-Stickers-Flux-LoRA"
|
65 |
+
trigger_word = "Only Sticker"
|
66 |
+
pipe.load_lora_weights(lora_repo)
|
67 |
+
|
68 |
+
device = torch.device("cuda")
|
69 |
+
pipe.to(device)
|
70 |
+
```
|
71 |
+
|
72 |
+
## Data source
|
73 |
+
|
74 |
+
- https://playground.com/
|
75 |
+
|
76 |
## Trigger words
|
77 |
|
78 |
You should use `Only Sticker` to trigger the image generation.
|