RedbeardNZ prithivMLmods commited on
Commit
b2d192b
Β·
verified Β·
0 Parent(s):

Duplicate from prithivMLmods/Canopus-LoRA-Flux-FaceRealism

Browse files

Co-authored-by: Prithiv Sakthi <prithivMLmods@users.noreply.huggingface.co>

.gitattributes ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.lz4 filter=lfs diff=lfs merge=lfs -text
12
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
13
+ *.model filter=lfs diff=lfs merge=lfs -text
14
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
15
+ *.npy filter=lfs diff=lfs merge=lfs -text
16
+ *.npz filter=lfs diff=lfs merge=lfs -text
17
+ *.onnx filter=lfs diff=lfs merge=lfs -text
18
+ *.ot filter=lfs diff=lfs merge=lfs -text
19
+ *.parquet filter=lfs diff=lfs merge=lfs -text
20
+ *.pb filter=lfs diff=lfs merge=lfs -text
21
+ *.pickle filter=lfs diff=lfs merge=lfs -text
22
+ *.pkl filter=lfs diff=lfs merge=lfs -text
23
+ *.pt filter=lfs diff=lfs merge=lfs -text
24
+ *.pth filter=lfs diff=lfs merge=lfs -text
25
+ *.rar filter=lfs diff=lfs merge=lfs -text
26
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
27
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
28
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
29
+ *.tar filter=lfs diff=lfs merge=lfs -text
30
+ *.tflite filter=lfs diff=lfs merge=lfs -text
31
+ *.tgz filter=lfs diff=lfs merge=lfs -text
32
+ *.wasm filter=lfs diff=lfs merge=lfs -text
33
+ *.xz filter=lfs diff=lfs merge=lfs -text
34
+ *.zip filter=lfs diff=lfs merge=lfs -text
35
+ *.zst filter=lfs diff=lfs merge=lfs -text
36
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
37
+ # Audio files - uncompressed
38
+ *.pcm filter=lfs diff=lfs merge=lfs -text
39
+ *.sam filter=lfs diff=lfs merge=lfs -text
40
+ *.raw filter=lfs diff=lfs merge=lfs -text
41
+ # Audio files - compressed
42
+ *.aac filter=lfs diff=lfs merge=lfs -text
43
+ *.flac filter=lfs diff=lfs merge=lfs -text
44
+ *.mp3 filter=lfs diff=lfs merge=lfs -text
45
+ *.ogg filter=lfs diff=lfs merge=lfs -text
46
+ *.wav filter=lfs diff=lfs merge=lfs -text
47
+ # Image files - uncompressed
48
+ *.bmp filter=lfs diff=lfs merge=lfs -text
49
+ *.gif filter=lfs diff=lfs merge=lfs -text
50
+ *.png filter=lfs diff=lfs merge=lfs -text
51
+ *.tiff filter=lfs diff=lfs merge=lfs -text
52
+ # Image files - compressed
53
+ *.jpg filter=lfs diff=lfs merge=lfs -text
54
+ *.jpeg filter=lfs diff=lfs merge=lfs -text
55
+ *.webp filter=lfs diff=lfs merge=lfs -text
Canopus-LoRA-Flux-FaceRealism.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:14435462ee04a831e7851b3de1a51eddb6e4783d173028b7329c2582285366be
3
+ size 612746040
README.md ADDED
@@ -0,0 +1,206 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - text-to-image
4
+ - lora
5
+ - diffusers
6
+ - template:sd-lora
7
+ - stable diffusion
8
+ - flux
9
+ - realism
10
+ - face
11
+ - diffusion
12
+ - flux-dev
13
+ widget:
14
+ - text: >-
15
+ A portrait of an attractive woman in her late twenties with light brown hair
16
+ and purple, wearing large a a yellow sweater. She is looking directly at the
17
+ camera, standing outdoors near trees.. --ar 128:85 --v 6.0 --style raw
18
+ output:
19
+ url: images/11.png
20
+ - text: >-
21
+ Headshot of handsome young man, wearing dark gray sweater with buttons and
22
+ big shawl collar, brown hair and short beard, serious look on his face,
23
+ black background, soft studio lighting, portrait photography --ar 85:128 --v
24
+ 6.0 --style rawHeadshot of handsome young man, wearing dark gray sweater
25
+ with buttons and big shawl collar, brown hair and short beard, serious look
26
+ on his face, black background, soft studio lighting, portrait photography
27
+ --ar 85:128 --v 6.0 --style rawHeadshot of handsome young man, wearing dark
28
+ gray sweater with buttons and big shawl collar, brown hair and short beard,
29
+ serious look on his face, black background, soft studio lighting, portrait
30
+ photography --ar 85:128 --v 6.0 --style raw
31
+ output:
32
+ url: images/22.png
33
+ - text: >-
34
+ A photo of the model wearing a white bodysuit and beige trench coat, posing
35
+ in front of a train station with hands on head, soft light, sunset, fashion
36
+ photography, high resolution, 35mm lens, f/22, natural lighting, global
37
+ illumination. --ar 85:128 --v 6.0 --style raw
38
+ output:
39
+ url: images/66.png
40
+ - text: >-
41
+ An image of a woman with fair skin and natural, wavy hair styled in soft
42
+ curls around her face. She has defined eyebrows and light-colored eyes that
43
+ draw attention. She dressed in a red and navy plaid shirt with the top
44
+ unbuttoned to show a white undershirt, and the sleeves rolled up to the
45
+ forearms. The woman is casually leaning against a weathered blue door frame
46
+ with peeling paint, adding a rustic charm to the scene. Her arms are crossed
47
+ or resting in front of her, and she has a soft, contemplative expression on
48
+ her face.
49
+ output:
50
+ url: images/44.png
51
+ - text: >-
52
+ A black and white photo of a woman with shadow., in the style of minimalist
53
+ beauty, light bronze and bronze, serene faces, sharp edges, karencore, high
54
+ definition, contrast shading, realism --ar 3:5 --stylize 750 --v 6.0 --style
55
+ rawA black and white photo of a woman with shadow., in the style of
56
+ minimalist beauty, light bronze and bronze, serene faces, sharp edges,
57
+ karencore, high definition, contrast shading, realism --ar 3:5 --stylize 750
58
+ --v 6.0 --style raw
59
+ output:
60
+ url: images/5.webp
61
+ - text: >-
62
+ Photograph, face, young man professional model, minimalist, stylish nessy
63
+ long hairstyle, beard, profound gaze, Canon EOS R5 with an RF 85mm F1.2L
64
+ lens, solid white environment, studio lights setting, ultra-realistic, 32K
65
+ UHD --ar 9:16 --style raw --stylize 700Photograph, face, young man
66
+ professional model, minimalist, stylish nessy long hairstyle, beard,
67
+ profound gaze, Canon EOS R5 with an RF 85mm F1.2L lens, solid white
68
+ environment, studio lights setting, ultra-realistic, 32K UHD --ar 9:16
69
+ --style raw --stylize 700
70
+ output:
71
+ url: images/33.png
72
+ base_model: black-forest-labs/FLUX.1-schnell
73
+ instance_prompt: face, realism, face realism
74
+ license: creativeml-openrail-m
75
+ ---
76
+ # Canopus-LoRA-Flux-FaceRealism
77
+
78
+ - Flux LoRA DLCπŸ₯³: https://huggingface.co/spaces/prithivMLmods/FLUX-LoRA-DLC
79
+
80
+ <Gallery />
81
+
82
+ **The model is still in the training phase. This is not the final version and may contain artifacts and perform poorly in some cases.**
83
+
84
+ ## Model description
85
+
86
+ **prithivMLmods/Canopus-LoRA-Flux-FaceRealism**
87
+
88
+ Image Processing Parameters
89
+
90
+ | Parameter | Value | Parameter | Value |
91
+ |---------------------------|--------|---------------------------|--------|
92
+ | LR Scheduler | constant | Noise Offset | 0.03 |
93
+ | Optimizer | AdamW | Multires Noise Discount | 0.1 |
94
+ | Network Dim | 64 | Multires Noise Iterations | 10 |
95
+ | Network Alpha | 32 | Repeat & Steps | 30 & 3.1K+ |
96
+ | Epoch | 20 | Save Every N Epochs | 1 |
97
+
98
+ Labeling: florence2-en(natural language & English)
99
+
100
+ Total Images Used for Training : 200+ [ Hi-RES ]
101
+
102
+ ## πŸš€New Version Available HereπŸš€
103
+
104
+ Here's a table summarizing the relevant information about the **`Flux-Super-Realism-LoRA`** model on Hugging Face:
105
+
106
+ | **Feature** | **Details** |
107
+ |-------------------------|-----------------------------------------------------------------------------|
108
+ | **Model Name** | `Flux-Super-Realism-LoRA` |
109
+ | **Repository** | [strangerzonehf/Flux-Super-Realism-LoRA](https://huggingface.co/strangerzonehf/Flux-Super-Realism-LoRA) |
110
+ | **Author** | `strangerzonehf` |
111
+ | **Description** | Super-realism LoRA model designed to produce high-quality, hyper-realistic images using LoRA fine-tuning techniques. This model can generate lifelike textures, lighting, and intricate details. |
112
+ | **Model Type** | LoRA (Low-Rank Adaptation for Transformers) |
113
+ | **Use Cases** | - Photorealistic image generation<br>- High-fidelity art<br>- Texture detailing and enhancement |
114
+ | **Primary Language** | Not applicable (model is image-based) |
115
+ | **Base Model** | Model used as the foundation for LoRA fine-tuning (may vary per implementation) |
116
+ | **License** | Refer to Hugging Face model page for specific licensing information. |
117
+ | **Tags** | super-realism, LoRA, high-fidelity, hyper-realistic |
118
+ | **Usage** | This model is typically used with tools like Hugging Face's `Diffusers` or other libraries supporting LoRA fine-tuning for enhanced realism in image generation. |
119
+ | **Pipeline** | Use in `StableDiffusionPipeline` or compatible image generation pipelines. |
120
+
121
+ ## Image Compare DLC.
122
+
123
+ ![prithivMLmods/Canopus-LoRA-Flux-FaceRealism](images/flux1.png)
124
+
125
+ ---
126
+ | Image | Description |
127
+ |-------|-------------|
128
+ | **Image 1** | **Portrait of an attractive woman**: Late twenties, light brown hair, wearing a yellow sweater, looking directly at the camera. Standing outdoors near trees. Aspect ratio: 128:85. Style: Raw |
129
+ | **Image 2** | **Headshot of a handsome young man**: Dark gray sweater with buttons and shawl collar, brown hair, short beard. Serious expression on a black background, soft studio lighting. Aspect ratio: 85:128. Style: Raw |
130
+ | **Image 3** | **Fashion photo**: Model in a white bodysuit and beige trench coat, posing with hands on head in front of a train station at sunset. High resolution, 35mm lens, f/22, natural lighting. Aspect ratio: 85:128. Style: Raw |
131
+ | **Image 4** | **Rustic portrait**: Woman with fair skin and natural, wavy hair in soft curls. Wearing a red and navy plaid shirt with a white undershirt, sleeves rolled up. Leaning against a weathered blue door frame with a contemplative expression. |
132
+
133
+ ---
134
+ ## Trigger prompts
135
+
136
+
137
+ A portrait of an attractive woman in her late twenties with light brown hair and purple, wearing large a a yellow sweater. She is looking directly at the camera, standing outdoors near trees.. --ar 128:85 --v 6.0 --style raw
138
+
139
+
140
+ Headshot of handsome young man, wearing dark gray sweater with buttons and big shawl collar, brown hair and short beard, serious look on his face, black background, soft studio lighting, portrait photography --ar 85:128 --v 6.0 --style raw
141
+
142
+
143
+ A photo of the model wearing a white bodysuit and beige trench coat, posing in front of a train station with hands on head, soft light, sunset, fashion photography, high resolution, 35mm lens, f/22, natural lighting, global illumination. --ar 85:128 --v 6.0 --style raw
144
+
145
+
146
+ An image of a woman with fair skin and natural, wavy hair styled in soft curls around her face. She has defined eyebrows and light-colored eyes that draw attention. She's dressed in a red and navy plaid shirt with the top unbuttoned to show a white undershirt, and the sleeves rolled up to the forearms. The woman is casually leaning against a weathered blue door frame with peeling paint, adding a rustic charm to the scene. Her arms are crossed or resting in front of her, and she has a soft, contemplative expression on her face.
147
+
148
+
149
+ A black and white photo of a woman with shadow., in the style of minimalist beauty, light bronze and bronze, serene faces, sharp edges, karencore, high definition, contrast shading, realism --ar 3:5 --stylize 750 --v 6.0 --style raw
150
+
151
+
152
+ Photograph, face, young man professional model, minimalist, stylish nessy long hairstyle, beard, profound gaze, Canon EOS R5 with an RF 85mm F1.2L lens, solid white environment, studio lights setting, ultra-realistic, 32K UHD --ar 9:16 --style raw --stylize 700
153
+
154
+ | Parameter | Value |
155
+ |-----------------|---------------------------------------------------------------------------------------|
156
+ | Prompt | Photograph, face, young man professional model, minimalist, stylish nessy long hairstyle, beard, profound gaze, Canon EOS R5 with an RF 85mm F1.2L lens, solid white environment, studio lights setting, ultra-realistic, 32K UHD --ar 9:16 --style raw --stylize 700 |
157
+ | Sampler | euler |
158
+
159
+ ## Trigger words πŸ’₯
160
+
161
+ You should use `face` to trigger the image generation.
162
+
163
+ You should use `realism` to trigger the image generation.
164
+
165
+ You should use `face realism` to trigger the image generation.
166
+
167
+ ## Setting Up
168
+ ```
169
+ import torch
170
+ from pipelines import DiffusionPipeline
171
+
172
+ base_model = "black-forest-labs/FLUX.1-dev"
173
+ pipe = DiffusionPipeline.from_pretrained(base_model, torch_dtype=torch.bfloat16)
174
+
175
+ lora_repo = "prithivMLmods/Canopus-LoRA-Flux-FaceRealism"
176
+ trigger_word = "Realism" # Leave trigger_word blank if not used.
177
+ pipe.load_lora_weights(lora_repo)
178
+
179
+ device = torch.device("cuda")
180
+ pipe.to(device)
181
+ ```
182
+ ## App File Structure
183
+
184
+ /project-root/
185
+
186
+ β”œβ”€β”€ .gitattributes
187
+ β”œβ”€β”€ README.md
188
+ β”œβ”€β”€ app.py
189
+ β”œβ”€β”€ pythonproject.py
190
+
191
+ > [!WARNING]
192
+ > **Warning:** Do not use a negative prompt as it can lead to the generation of images with artifacts and distortions.
193
+
194
+ ## Download model
195
+
196
+ Weights for this model are available in Safetensors format.
197
+
198
+ [Download](/prithivMLmods/Canopus-LoRA-Flux-FaceRealism/tree/main) them in the Files & versions tab.
199
+
200
+ - πŸͺ„For anime : https://huggingface.co/prithivMLmods/Canopus-Anime-Art-Flux-LoRA
201
+
202
+ .
203
+
204
+ .
205
+
206
+ πŸ€—: https://hf.co/prithivmlmods
images/1.webp ADDED

Git LFS Details

  • SHA256: 20a7b397de677834168e18285d310a930be6910b02223d3b0353c5aa1bd9f24a
  • Pointer size: 130 Bytes
  • Size of remote file: 66.6 kB
images/11.png ADDED

Git LFS Details

  • SHA256: aa5ab9ff9489db0804adbd5396bd727dab811c6e4fae607f971866293ecdf39f
  • Pointer size: 132 Bytes
  • Size of remote file: 1.28 MB
images/2.webp ADDED

Git LFS Details

  • SHA256: 96fb4e31a101062586df21de7b457d48e72280085a98c2c406cd95eb82897877
  • Pointer size: 130 Bytes
  • Size of remote file: 43.3 kB
images/22.png ADDED

Git LFS Details

  • SHA256: 5512bbc0d4aa780a0e68e74612d85e585b0536f90532b2cfba5970c93ece414f
  • Pointer size: 131 Bytes
  • Size of remote file: 681 kB
images/3.webp ADDED

Git LFS Details

  • SHA256: 593dd4de230dbbbe61b6bff97d4c90ffb4d02d2857f8fd154b3174e0e7245e07
  • Pointer size: 130 Bytes
  • Size of remote file: 51.2 kB
images/33.png ADDED

Git LFS Details

  • SHA256: 1f04da55db6be9e553333dae4823434b4b86bfeb7a49d6333c568f679be84304
  • Pointer size: 132 Bytes
  • Size of remote file: 1.24 MB
images/4.webp ADDED

Git LFS Details

  • SHA256: d30e3bec8d9b20ebd6c70d216512836c67437517f0fa46d2b5f5bbe6045e96bd
  • Pointer size: 130 Bytes
  • Size of remote file: 69 kB
images/44.png ADDED

Git LFS Details

  • SHA256: 159e4fde7e4441316eb1a1d3ed4ce092e7fbcc257f6ddab740c2bce99e83d703
  • Pointer size: 132 Bytes
  • Size of remote file: 1.41 MB
images/5.webp ADDED

Git LFS Details

  • SHA256: 69072bfef4cc33df8bf93b8ce4e30ee8d3816d266b2ad28acd8b6fb0e6ba2138
  • Pointer size: 130 Bytes
  • Size of remote file: 29.2 kB
images/6.webp ADDED

Git LFS Details

  • SHA256: 70ce07a13d1b33b96352c7c28ff4790b9988c521c26f5ed211477c3be03d7e43
  • Pointer size: 130 Bytes
  • Size of remote file: 46.3 kB
images/66.png ADDED

Git LFS Details

  • SHA256: dba7846e5ec4fe722918aed469ee87990d87bbf950d7d7c8f3f60d7474bd26fd
  • Pointer size: 132 Bytes
  • Size of remote file: 1.17 MB
images/flux1.png ADDED

Git LFS Details

  • SHA256: 58cad0797bcaf15ba8bc03eba97afb98d30ff49808d7732863046d165e536334
  • Pointer size: 133 Bytes
  • Size of remote file: 16.7 MB
images/xc.webp ADDED

Git LFS Details

  • SHA256: 00ef2dc13eaf270380f83d907f7487a95bacb7dec8d93b39a3fa116680037b3b
  • Pointer size: 130 Bytes
  • Size of remote file: 20.2 kB