prithivMLmods
commited on
Commit
•
f2b8d1a
1
Parent(s):
869591a
Update README.md
Browse files
README.md
CHANGED
@@ -52,7 +52,47 @@ license: creativeml-openrail-m
|
|
52 |
|
53 |
<Gallery />
|
54 |
|
|
|
55 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
56 |
## Trigger words
|
57 |
|
58 |
You should use `3DXLP2` to trigger the image generation.
|
|
|
52 |
|
53 |
<Gallery />
|
54 |
|
55 |
+
## Model description for 3DXL Partfile 0002
|
56 |
|
57 |
+
Image Processing Parameters
|
58 |
+
|
59 |
+
| Parameter | Value | Parameter | Value |
|
60 |
+
|---------------------------|--------|---------------------------|--------|
|
61 |
+
| LR Scheduler | constant | Noise Offset | 0.03 |
|
62 |
+
| Optimizer | AdamW | Multires Noise Discount | 0.1 |
|
63 |
+
| Network Dim | 64 | Multires Noise Iterations | 10 |
|
64 |
+
| Network Alpha | 32 | Repeat & Steps | 23 & 3000 |
|
65 |
+
| Epoch | 20 | Save Every N Epochs | 1 |
|
66 |
+
|
67 |
+
Labeling: florence2-en(natural language & English)
|
68 |
+
|
69 |
+
Total Images Used for Training : 19
|
70 |
+
|
71 |
+
## Best Dimensions & Inference
|
72 |
+
|
73 |
+
| **Dimensions** | **Aspect Ratio** | **Recommendation** |
|
74 |
+
|-----------------|------------------|---------------------------|
|
75 |
+
| 1280 x 832 | 3:2 | Best |
|
76 |
+
| 1024 x 1024 | 1:1 | Default |
|
77 |
+
|
78 |
+
### Inference Range
|
79 |
+
- **Recommended Inference Steps:** 30–35
|
80 |
+
|
81 |
+
## Setting Up
|
82 |
+
```python
|
83 |
+
import torch
|
84 |
+
from pipelines import DiffusionPipeline
|
85 |
+
|
86 |
+
base_model = "black-forest-labs/FLUX.1-dev"
|
87 |
+
pipe = DiffusionPipeline.from_pretrained(base_model, torch_dtype=torch.bfloat16)
|
88 |
+
|
89 |
+
lora_repo = "strangerzonehf/Flux-3DXL-Partfile-0002"
|
90 |
+
trigger_word = "3DXLP2"
|
91 |
+
pipe.load_lora_weights(lora_repo)
|
92 |
+
|
93 |
+
device = torch.device("cuda")
|
94 |
+
pipe.to(device)
|
95 |
+
```
|
96 |
## Trigger words
|
97 |
|
98 |
You should use `3DXLP2` to trigger the image generation.
|