prithivMLmods
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -41,12 +41,55 @@ license: creativeml-openrail-m
|
|
41 |
|
42 |
<Gallery />
|
43 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
|
45 |
## Trigger words
|
46 |
|
47 |
You should use `Shadow Projection` to trigger the image generation.
|
48 |
|
49 |
-
|
50 |
## Download model
|
51 |
|
52 |
Weights for this model are available in Safetensors format.
|
|
|
41 |
|
42 |
<Gallery />
|
43 |
|
44 |
+
- Hosted Here🧨: https://huggingface.co/spaces/prithivMLmods/FLUX-LoRA-DLC
|
45 |
+
|
46 |
+
**The model is still in the training phase. This is not the final version and may contain artifacts and perform poorly in some cases.**
|
47 |
+
|
48 |
+
## Model description
|
49 |
+
|
50 |
+
**prithivMLmods/Shadow-Projection-Flux-LoRA**
|
51 |
+
|
52 |
+
Image Processing Parameters
|
53 |
+
|
54 |
+
| Parameter | Value | Parameter | Value |
|
55 |
+
|---------------------------|--------|---------------------------|--------|
|
56 |
+
| LR Scheduler | constant | Noise Offset | 0.03 |
|
57 |
+
| Optimizer | AdamW | Multires Noise Discount | 0.1 |
|
58 |
+
| Network Dim | 64 | Multires Noise Iterations | 10 |
|
59 |
+
| Network Alpha | 32 | Repeat & Steps | 26 & 3200|
|
60 |
+
| Epoch | 16 | Save Every N Epochs | 1 |
|
61 |
+
|
62 |
+
Labeling: florence2-en(natural language & English)
|
63 |
+
|
64 |
+
Total Images Used for Training : 15 [ Hi-RES ]
|
65 |
+
|
66 |
+
## Best Dimensions
|
67 |
+
|
68 |
+
- 1024 x 1024 (Default)
|
69 |
+
|
70 |
+
## Setting Up
|
71 |
+
```
|
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 = "prithivMLmods/Shadow-Projection-Flux-LoRA"
|
79 |
+
trigger_word = "Shadow Projection"
|
80 |
+
pipe.load_lora_weights(lora_repo)
|
81 |
+
|
82 |
+
device = torch.device("cuda")
|
83 |
+
pipe.to(device)
|
84 |
+
```
|
85 |
+
## Data source
|
86 |
+
|
87 |
+
- https://freeflo.ai/
|
88 |
|
89 |
## Trigger words
|
90 |
|
91 |
You should use `Shadow Projection` to trigger the image generation.
|
92 |
|
|
|
93 |
## Download model
|
94 |
|
95 |
Weights for this model are available in Safetensors format.
|