prithivMLmods
commited on
Commit
•
6ad9cad
1
Parent(s):
a563e22
Update README.md
Browse files
README.md
CHANGED
@@ -21,10 +21,52 @@ base_model: black-forest-labs/FLUX.1-dev
|
|
21 |
instance_prompt: Smiley C4C
|
22 |
license: creativeml-openrail-m
|
23 |
---
|
24 |
-
|
25 |
|
26 |
<Gallery />
|
27 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
|
29 |
## Trigger words
|
30 |
|
|
|
21 |
instance_prompt: Smiley C4C
|
22 |
license: creativeml-openrail-m
|
23 |
---
|
24 |
+
![strangerzonehf/Flux-C4C-Design-LoRA](images/cx.png)
|
25 |
|
26 |
<Gallery />
|
27 |
|
28 |
+
## Model description for C4C Design LoRA
|
29 |
+
|
30 |
+
Image Processing Parameters
|
31 |
+
|
32 |
+
| Parameter | Value | Parameter | Value |
|
33 |
+
|---------------------------|--------|---------------------------|--------|
|
34 |
+
| LR Scheduler | constant | Noise Offset | 0.03 |
|
35 |
+
| Optimizer | AdamW | Multires Noise Discount | 0.1 |
|
36 |
+
| Network Dim | 64 | Multires Noise Iterations | 10 |
|
37 |
+
| Network Alpha | 32 | Repeat & Steps | 25 & 3100 |
|
38 |
+
| Epoch | 15 | Save Every N Epochs | 1 |
|
39 |
+
|
40 |
+
Labeling: florence2-en(natural language & English)
|
41 |
+
|
42 |
+
Total Images Used for Training : 14
|
43 |
+
|
44 |
+
## Best Dimensions & Inference
|
45 |
+
|
46 |
+
| **Dimensions** | **Aspect Ratio** | **Recommendation** |
|
47 |
+
|-----------------|------------------|---------------------------|
|
48 |
+
| 1280 x 832 | 3:2 | Best |
|
49 |
+
| 1024 x 1024 | 1:1 | Default |
|
50 |
+
|
51 |
+
### Inference Range
|
52 |
+
|
53 |
+
- **Recommended Inference Steps:** 30–35
|
54 |
+
|
55 |
+
## Setting Up
|
56 |
+
```python
|
57 |
+
import torch
|
58 |
+
from pipelines import DiffusionPipeline
|
59 |
+
|
60 |
+
base_model = "black-forest-labs/FLUX.1-dev"
|
61 |
+
pipe = DiffusionPipeline.from_pretrained(base_model, torch_dtype=torch.bfloat16)
|
62 |
+
|
63 |
+
lora_repo = "strangerzonehf/Flux-C4C-Design-LoRA"
|
64 |
+
trigger_word = "Smiley C4C"
|
65 |
+
pipe.load_lora_weights(lora_repo)
|
66 |
+
|
67 |
+
device = torch.device("cuda")
|
68 |
+
pipe.to(device)
|
69 |
+
```
|
70 |
|
71 |
## Trigger words
|
72 |
|