Update README.md
Browse files
README.md
CHANGED
@@ -18,10 +18,51 @@ base_model: black-forest-labs/FLUX.1-dev
|
|
18 |
instance_prompt: CMS 3D Art
|
19 |
license: apache-2.0
|
20 |
---
|
21 |
-
|
22 |
|
23 |
<Gallery />
|
|
|
24 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
|
26 |
## Trigger words
|
27 |
|
|
|
18 |
instance_prompt: CMS 3D Art
|
19 |
license: apache-2.0
|
20 |
---
|
21 |
+

|
22 |
|
23 |
<Gallery />
|
24 |
+
# Model description for CMS 3D Art
|
25 |
|
26 |
+
Image Processing Parameters
|
27 |
+
|
28 |
+
| Parameter | Value | Parameter | Value |
|
29 |
+
|---------------------------|--------|---------------------------|--------|
|
30 |
+
| LR Scheduler | constant | Noise Offset | 0.03 |
|
31 |
+
| Optimizer | AdamW | Multires Noise Discount | 0.1 |
|
32 |
+
| Network Dim | 64 | Multires Noise Iterations | 10 |
|
33 |
+
| Network Alpha | 32 | Repeat & Steps | 26 & 3250 |
|
34 |
+
| Epoch | 25 | Save Every N Epochs | 1 |
|
35 |
+
|
36 |
+
Labeling: florence2-en(natural language & English)
|
37 |
+
|
38 |
+
Total Images Used for Training : 34
|
39 |
+
|
40 |
+
## Best Dimensions & Inference
|
41 |
+
|
42 |
+
| **Dimensions** | **Aspect Ratio** | **Recommendation** |
|
43 |
+
|-----------------|------------------|---------------------------|
|
44 |
+
| 1280 x 832 | 3:2 | Best |
|
45 |
+
| 1024 x 1024 | 1:1 | Default |
|
46 |
+
|
47 |
+
### Inference Range
|
48 |
+
|
49 |
+
- **Recommended Inference Steps:** 30–35
|
50 |
+
|
51 |
+
## Setting Up
|
52 |
+
```python
|
53 |
+
import torch
|
54 |
+
from pipelines import DiffusionPipeline
|
55 |
+
|
56 |
+
base_model = "black-forest-labs/FLUX.1-dev"
|
57 |
+
pipe = DiffusionPipeline.from_pretrained(base_model, torch_dtype=torch.bfloat16)
|
58 |
+
|
59 |
+
lora_repo = "strangerzonehf/CMS-3D-Art"
|
60 |
+
trigger_word = "CMS 3D Art"
|
61 |
+
pipe.load_lora_weights(lora_repo)
|
62 |
+
|
63 |
+
device = torch.device("cuda")
|
64 |
+
pipe.to(device)
|
65 |
+
```
|
66 |
|
67 |
## Trigger words
|
68 |
|