prithivMLmods
commited on
Commit
•
1780685
1
Parent(s):
e83717d
Update README.md
Browse files
README.md
CHANGED
@@ -40,6 +40,48 @@ license: creativeml-openrail-m
|
|
40 |
|
41 |
<Gallery />
|
42 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
43 |
## Trigger words
|
44 |
|
45 |
You should use `Xmas Chocolate` to trigger the image generation.
|
|
|
40 |
|
41 |
<Gallery />
|
42 |
|
43 |
+
# Model description for Flux-Xmas-3D-LoRA
|
44 |
+
|
45 |
+
Image Processing Parameters
|
46 |
+
|
47 |
+
| Parameter | Value | Parameter | Value |
|
48 |
+
|---------------------------|--------|---------------------------|--------|
|
49 |
+
| LR Scheduler | constant | Noise Offset | 0.03 |
|
50 |
+
| Optimizer | AdamW | Multires Noise Discount | 0.1 |
|
51 |
+
| Network Dim | 64 | Multires Noise Iterations | 10 |
|
52 |
+
| Network Alpha | 32 | Repeat & Steps | 22 & 2700 |
|
53 |
+
| Epoch | 18 | Save Every N Epochs | 1 |
|
54 |
+
|
55 |
+
Labeling: florence2-en(natural language & English)
|
56 |
+
|
57 |
+
Total Images Used for Training : 17 [ Xmas Isometric Kit ]
|
58 |
+
|
59 |
+
## Best Dimensions & Inference
|
60 |
+
|
61 |
+
| **Dimensions** | **Aspect Ratio** | **Recommendation** |
|
62 |
+
|-----------------|------------------|---------------------------|
|
63 |
+
| 1280 x 832 | 3:2 | Best |
|
64 |
+
| 1024 x 1024 | 1:1 | Default |
|
65 |
+
|
66 |
+
### Inference Range
|
67 |
+
|
68 |
+
- **Recommended Inference Steps:** 30–35
|
69 |
+
|
70 |
+
## Setting Up
|
71 |
+
```python
|
72 |
+
import torch
|
73 |
+
from pipelines import DiffusionPipeline
|
74 |
+
|
75 |
+
base_model = "black-forest-labs/FLUX.1-dev"
|
76 |
+
pipe = DiffusionPipeline.from_pretrained(base_model, torch_dtype=torch.bfloat16)
|
77 |
+
|
78 |
+
lora_repo = "strangerzonehf/Flux-Xmas-Chocolate-LoRA"
|
79 |
+
trigger_word = "Xmas Chocolate"
|
80 |
+
pipe.load_lora_weights(lora_repo)
|
81 |
+
|
82 |
+
device = torch.device("cuda")
|
83 |
+
pipe.to(device)
|
84 |
+
```
|
85 |
## Trigger words
|
86 |
|
87 |
You should use `Xmas Chocolate` to trigger the image generation.
|