prithivMLmods
commited on
Commit
•
3509eb5
1
Parent(s):
b73afa3
Update README.md
Browse files
README.md
CHANGED
@@ -4,14 +4,41 @@ tags:
|
|
4 |
- lora
|
5 |
- diffusers
|
6 |
- template:diffusion-lora
|
|
|
|
|
|
|
|
|
7 |
widget:
|
8 |
-
- text:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
output:
|
10 |
url: images/C1.webp
|
11 |
-
- text:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
output:
|
13 |
url: images/C2.webp
|
14 |
-
- text:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
output:
|
16 |
url: images/L3.webp
|
17 |
base_model: black-forest-labs/FLUX.1-dev
|
@@ -22,8 +49,54 @@ license: creativeml-openrail-m
|
|
22 |
|
23 |
<Gallery />
|
24 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
# Best Dimensions
|
26 |
|
|
|
|
|
27 |
- 768 X 1024
|
28 |
|
29 |
## Trigger words 🧨
|
@@ -35,4 +108,4 @@ You should use `collage` to trigger the image generation.
|
|
35 |
|
36 |
Weights for this model are available in Safetensors format.
|
37 |
|
38 |
-
[Download](/prithivMLmods/Castor-Collage-Dim-Flux-LoRA/tree/main) them in the Files & versions tab.
|
|
|
4 |
- lora
|
5 |
- diffusers
|
6 |
- template:diffusion-lora
|
7 |
+
- collage
|
8 |
+
- wallpaper
|
9 |
+
- vibrant
|
10 |
+
- multiple-panels
|
11 |
widget:
|
12 |
+
- text: >-
|
13 |
+
A vibrant red spiderman is depicted in a collage of multiple panels. The
|
14 |
+
background is a vibrant orange, adding a pop of color to the scene. The
|
15 |
+
spidermans suit is a deep red, with a white stripe running down the center
|
16 |
+
of his chest. His eyes are large, white, and his mouth is slightly open. His
|
17 |
+
hands are positioned in a way that he is facing towards the right side of
|
18 |
+
the frame. The entire frame is black, creating a striking contrast with the
|
19 |
+
red and orange background.
|
20 |
output:
|
21 |
url: images/C1.webp
|
22 |
+
- text: >-
|
23 |
+
A vibrant, black-suited Batman is depicted in a collage of multiple panels.
|
24 |
+
The background is a deep, intense blue, adding a dramatic tone to the scene.
|
25 |
+
Batmans suit is a rich black with a dark gray bat symbol on his chest. His
|
26 |
+
eyes are narrow and white, and his mouth is set in a serious expression. His
|
27 |
+
cape flows around him, and he is facing toward the right side of the frame,
|
28 |
+
giving a sense of movement. The entire frame is outlined in dark gray,
|
29 |
+
creating a bold contrast with the dark suit and blue background.
|
30 |
output:
|
31 |
url: images/C2.webp
|
32 |
+
- text: >-
|
33 |
+
A vibrant, red-suited Deadpool is depicted in a collage of multiple panels.
|
34 |
+
The background is a bold, electric yellow, adding an energetic vibe to the
|
35 |
+
scene. Deadpool’s suit is a striking red with black patches around his eyes
|
36 |
+
and across his torso, creating a dynamic look. His eyes are expressive and
|
37 |
+
white, and his mouth is curved into a mischievous smirk. His hands are
|
38 |
+
positioned confidently, holding one of his katanas, and he is facing toward
|
39 |
+
the right side of the frame, exuding a playful, yet intense energy. The
|
40 |
+
entire frame is outlined in black, creating a sharp contrast with the red
|
41 |
+
suit and vibrant yellow background.
|
42 |
output:
|
43 |
url: images/L3.webp
|
44 |
base_model: black-forest-labs/FLUX.1-dev
|
|
|
49 |
|
50 |
<Gallery />
|
51 |
|
52 |
+
**The model is still in the training phase. This is not the final version and may contain artifacts and perform poorly in some cases.**
|
53 |
+
|
54 |
+
## Model description
|
55 |
+
|
56 |
+
**prithivMLmods/Castor-Collage-Dim-Flux-LoRA**
|
57 |
+
|
58 |
+
Image Processing Parameters
|
59 |
+
|
60 |
+
| Parameter | Value | Parameter | Value |
|
61 |
+
|---------------------------|--------|---------------------------|--------|
|
62 |
+
| LR Scheduler | constant | Noise Offset | 0.03 |
|
63 |
+
| Optimizer | AdamW | Multires Noise Discount | 0.1 |
|
64 |
+
| Network Dim | 64 | Multires Noise Iterations | 10 |
|
65 |
+
| Network Alpha | 32 | Repeat & Steps | 28 & 3.2k |
|
66 |
+
| Epoch | 12 | Save Every N Epochs | 1 |
|
67 |
+
|
68 |
+
Labeling: florence2-en(natural language & English)
|
69 |
+
|
70 |
+
Total Images Used for Training : 27
|
71 |
+
|
72 |
+
## Setting Up
|
73 |
+
```
|
74 |
+
import torch
|
75 |
+
from pipelines import DiffusionPipeline
|
76 |
+
|
77 |
+
base_model = "black-forest-labs/FLUX.1-dev"
|
78 |
+
pipe = DiffusionPipeline.from_pretrained(base_model, torch_dtype=torch.bfloat16)
|
79 |
+
|
80 |
+
lora_repo = "prithivMLmods/Castor-Collage-Dim-Flux-LoRA"
|
81 |
+
trigger_word = "collage" # Leave trigger_word blank if not used.
|
82 |
+
pipe.load_lora_weights(lora_repo)
|
83 |
+
|
84 |
+
device = torch.device("cuda")
|
85 |
+
pipe.to(device)
|
86 |
+
```
|
87 |
+
## App File Structure
|
88 |
+
|
89 |
+
/project-root/
|
90 |
+
|
91 |
+
├── .gitattributes
|
92 |
+
├── README.md
|
93 |
+
├── app.py
|
94 |
+
├── pythonproject.py
|
95 |
+
|
96 |
# Best Dimensions
|
97 |
|
98 |
+
- 512 X 512
|
99 |
+
- 1024 X 1024
|
100 |
- 768 X 1024
|
101 |
|
102 |
## Trigger words 🧨
|
|
|
108 |
|
109 |
Weights for this model are available in Safetensors format.
|
110 |
|
111 |
+
[Download](/prithivMLmods/Castor-Collage-Dim-Flux-LoRA/tree/main) them in the Files & versions tab.
|