prithivMLmods
commited on
Commit
•
daeac1b
1
Parent(s):
77e80b2
Update README.md
Browse files
README.md
CHANGED
@@ -38,12 +38,50 @@ license: creativeml-openrail-m
|
|
38 |
|
39 |
<Gallery />
|
40 |
|
|
|
41 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
## Trigger words
|
43 |
|
44 |
You should use `Polaroid Collage` to trigger the image generation.
|
45 |
|
46 |
-
|
47 |
## Download model
|
48 |
|
49 |
Weights for this model are available in Safetensors format.
|
|
|
38 |
|
39 |
<Gallery />
|
40 |
|
41 |
+
**The model is still in the training phase. This is not the final version and may contain artifacts and perform poorly in some cases.**
|
42 |
|
43 |
+
## Model description
|
44 |
+
|
45 |
+
**prithivMLmods/Flux-Polaroid-Plus**
|
46 |
+
|
47 |
+
Image Processing Parameters
|
48 |
+
|
49 |
+
| Parameter | Value | Parameter | Value |
|
50 |
+
|---------------------------|--------|---------------------------|--------|
|
51 |
+
| LR Scheduler | constant | Noise Offset | 0.03 |
|
52 |
+
| Optimizer | AdamW | Multires Noise Discount | 0.1 |
|
53 |
+
| Network Dim | 64 | Multires Noise Iterations | 10 |
|
54 |
+
| Network Alpha | 32 | Repeat & Steps | 23 & 3300 |
|
55 |
+
| Epoch | 17 | Save Every N Epochs | 1 |
|
56 |
+
|
57 |
+
Labeling: florence2-en(natural language & English)
|
58 |
+
|
59 |
+
Total Images Used for Training : 24
|
60 |
+
|
61 |
+
## Best Dimensions
|
62 |
+
|
63 |
+
- 768 x 1024 (Best)
|
64 |
+
- 1024 x 1024 (Default)
|
65 |
+
|
66 |
+
## Setting Up
|
67 |
+
```python
|
68 |
+
import torch
|
69 |
+
from pipelines import DiffusionPipeline
|
70 |
+
|
71 |
+
base_model = "black-forest-labs/FLUX.1-dev"
|
72 |
+
pipe = DiffusionPipeline.from_pretrained(base_model, torch_dtype=torch.bfloat16)
|
73 |
+
|
74 |
+
lora_repo = "prithivMLmods/Flux-Polaroid-Plus"
|
75 |
+
trigger_word = "Polaroid Collage"
|
76 |
+
pipe.load_lora_weights(lora_repo)
|
77 |
+
|
78 |
+
device = torch.device("cuda")
|
79 |
+
pipe.to(device)
|
80 |
+
```
|
81 |
## Trigger words
|
82 |
|
83 |
You should use `Polaroid Collage` to trigger the image generation.
|
84 |
|
|
|
85 |
## Download model
|
86 |
|
87 |
Weights for this model are available in Safetensors format.
|