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