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