prithivMLmods
commited on
Commit
•
66e07f4
1
Parent(s):
8e85ab2
Update README.md
Browse files
README.md
CHANGED
@@ -40,6 +40,29 @@ license: creativeml-openrail-m
|
|
40 |
|
41 |
<Gallery />
|
42 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
43 |
|
44 |
## Trigger words
|
45 |
|
@@ -47,6 +70,40 @@ You should use `3D Polygon` to trigger the image generation.
|
|
47 |
|
48 |
You should use `3D Polygon Character` to trigger the image generation.
|
49 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
50 |
## Download model
|
51 |
|
52 |
Weights for this model are available in Safetensors format.
|
|
|
40 |
|
41 |
<Gallery />
|
42 |
|
43 |
+
**The model is still in the training phase. This is not the final version and may contain artifacts and perform poorly in some cases.**
|
44 |
+
|
45 |
+
## Model description
|
46 |
+
|
47 |
+
**prithivMLmods/Canopus-LoRA-Flux-FaceRealism**
|
48 |
+
|
49 |
+
Image Processing Parameters
|
50 |
+
|
51 |
+
| Parameter | Value | Parameter | Value |
|
52 |
+
|---------------------------|--------|---------------------------|--------|
|
53 |
+
| LR Scheduler | constant | Noise Offset | 0.03 |
|
54 |
+
| Optimizer | AdamW | Multires Noise Discount | 0.1 |
|
55 |
+
| Network Dim | 64 | Multires Noise Iterations | 10 |
|
56 |
+
| Network Alpha | 32 | Repeat & Steps | 27 & 1.9K+ |
|
57 |
+
| Epoch | 15 | Save Every N Epochs | 1 |
|
58 |
+
|
59 |
+
Labeling: florence2-en(natural language & English)
|
60 |
+
|
61 |
+
Total Images Used for Training : 25+ [ Hi-RES ]
|
62 |
+
|
63 |
+
## Data Source
|
64 |
+
|
65 |
+
https://search.muz.li/
|
66 |
|
67 |
## Trigger words
|
68 |
|
|
|
70 |
|
71 |
You should use `3D Polygon Character` to trigger the image generation.
|
72 |
|
73 |
+
# Character Creation Prompts
|
74 |
+
|
75 |
+
| Character Type | Description |
|
76 |
+
| ------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- |
|
77 |
+
| **Hyper-Realistic Young Man** | "Create a hyper-realistic polygon 3D portrait of a young man in his late 20s. He has short, dark hair, deep blue eyes, and light stubble on his face. He wears a red cap, slightly worn, with a casual, loose-fitting t-shirt. His expression is neutral, with a focused gaze. The lighting highlights his detailed facial textures, showing light freckles and a slight sheen on his skin, adding to the realism. The background is out of focus, with industrial elements, giving a gritty, urban feel." |
|
78 |
+
| **Elegant Woman in a Red Dress** | "Create a hyper-realistic polygon 3D portrait of an elegant woman in her early 30s. She has long, wavy blonde hair and wears a vibrant red evening gown with delicate earrings. Her expression is poised and confident, with soft makeup accentuating her features. The lighting highlights her clear skin and the slight shimmer of her dress. The background is a soft-focus dark texture, drawing attention to her serene yet powerful presence." |
|
79 |
+
| **Realistic Woman with Wet Hair** | "Create a hyper-realistic polygon 3D portrait of a woman in her late 20s with dark brown, wet hair slicked back. She has golden-brown eyes and subtle freckles on her face. She wears minimal makeup, and her skin shows natural imperfections, adding to the realism. Her expression is neutral yet focused, with slightly parted lips. The lighting is soft and even, emphasizing the texture of her skin and wet hair. The background is a simple gray gradient, keeping the focus on her." |
|
80 |
+
| **Modern-Day Woman with Short Hair** | "Create a hyper-realistic polygon 3D portrait of a woman in her early 30s with short, tousled platinum blonde hair. She has piercing blue eyes, pale skin with subtle freckles, and a sharp jawline. She wears a black leather jacket over a simple white t-shirt, giving off a contemporary, urban vibe. Her expression is confident and slightly rebellious, with a smirk playing on her lips. The lighting is dramatic, casting shadows on one side of her face and highlighting the texture of her skin and the gloss on her lips. The background is a cityscape at night with blurred lights, adding to the modern and edgy atmosphere." |
|
81 |
+
| **Stylish Man with Beard and Glasses** | "Create a hyper-realistic polygon 3D portrait of a man in his mid-30s with neatly trimmed brown hair and a full beard. He wears black-rimmed glasses and a navy-blue suit with a crisp white shirt. His expression is serious yet approachable, with a slight furrow in his brow. The lighting highlights the texture of his beard and the slight glare on his glasses. The background is a blurred modern office environment, giving a professional yet relaxed tone." |
|
82 |
+
|
83 |
+
## Setting Up
|
84 |
+
```
|
85 |
+
import torch
|
86 |
+
from pipelines import DiffusionPipeline
|
87 |
+
|
88 |
+
base_model = "black-forest-labs/FLUX.1-dev"
|
89 |
+
pipe = DiffusionPipeline.from_pretrained(base_model, torch_dtype=torch.bfloat16)
|
90 |
+
|
91 |
+
lora_repo = "prithivMLmods/Castor-Character-Polygon-LoRA"
|
92 |
+
trigger_word = "3D Polygon" # Leave trigger_word blank if not used.
|
93 |
+
pipe.load_lora_weights(lora_repo)
|
94 |
+
|
95 |
+
device = torch.device("cuda")
|
96 |
+
pipe.to(device)
|
97 |
+
```
|
98 |
+
## App File Structure
|
99 |
+
|
100 |
+
/project-root/
|
101 |
+
|
102 |
+
├── .gitattributes
|
103 |
+
├── README.md
|
104 |
+
├── app.py
|
105 |
+
├── pythonproject.py
|
106 |
+
|
107 |
## Download model
|
108 |
|
109 |
Weights for this model are available in Safetensors format.
|