Commit
·
3dda25e
verified
·
0
Parent(s):
Duplicate from prithivMLmods/Canopus-LoRA-Flux-UltraRealism-2.0
Browse filesCo-authored-by: Prithiv Sakthi <prithivMLmods@users.noreply.huggingface.co>
- .gitattributes +55 -0
- Canopus-LoRA-Flux-UltraRealism.safetensors +3 -0
- README.md +164 -0
- images/3.png +3 -0
- images/34.png +3 -0
- images/4.png +3 -0
- images/5.png +3 -0
- images/XX.png +3 -0
- images/flux1.png +3 -0
.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-UltraRealism.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c48305997c7a52cc0702cf2d8043e2d04c9e47531d4a617481703a7c2307ea67
|
| 3 |
+
size 612746888
|
README.md
ADDED
|
@@ -0,0 +1,164 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- text-to-image
|
| 4 |
+
- lora
|
| 5 |
+
- diffusers
|
| 6 |
+
- template:diffusion-lora
|
| 7 |
+
- flux-dev
|
| 8 |
+
- ultra
|
| 9 |
+
- realism
|
| 10 |
+
- photorealism
|
| 11 |
+
- hi-res
|
| 12 |
+
- face
|
| 13 |
+
- diffusion
|
| 14 |
+
- UltraRealism
|
| 15 |
+
widget:
|
| 16 |
+
- text: >-
|
| 17 |
+
Woman in a red jacket, snowy, in the style of hyper-realistic portraiture,
|
| 18 |
+
caninecore, mountainous vistas, timeless beauty, palewave, iconic,
|
| 19 |
+
distinctive noses --ar 72:101 --stylize 750 --v 6
|
| 20 |
+
output:
|
| 21 |
+
url: images/3.png
|
| 22 |
+
- text: >-
|
| 23 |
+
Photograph, candid shot, famous randomly couch and randomly finished with
|
| 24 |
+
randomly cats, center point for cat, Use camera is Canon EOS 5D Mark IV with
|
| 25 |
+
a Canon EF 24mm f/1.4L II USM lens, set at aperture f/2.8 for a depth of
|
| 26 |
+
field that highlights the furniture clean lines with rich and many detail,
|
| 27 |
+
randomly color and finished, soft ambient light, studio light setting, ultra
|
| 28 |
+
realistic, UHD, many details --chaos 1 --ar 9:16 --style raw --stylize 750
|
| 29 |
+
output:
|
| 30 |
+
url: images/5.png
|
| 31 |
+
- text: >-
|
| 32 |
+
High-resolution photograph, woman, UHD, photorealistic, shot on a Sony A7III
|
| 33 |
+
--chaos 20 --ar 1:2 --style raw --stylize 250
|
| 34 |
+
output:
|
| 35 |
+
url: images/XX.png
|
| 36 |
+
base_model: black-forest-labs/FLUX.1-dev
|
| 37 |
+
instance_prompt: Ultra realistic
|
| 38 |
+
license: creativeml-openrail-m
|
| 39 |
+
new_version: strangerzonehf/Flux-Super-Realism-LoRA
|
| 40 |
+
---
|
| 41 |
+
# Canopus-LoRA-Flux-UltraRealism-2.0
|
| 42 |
+
|
| 43 |
+
<Gallery />
|
| 44 |
+
|
| 45 |
+
- The new versions available: https://huggingface.co/prithivMLmods/Ton618-Epic-Realism-Flux-LoRA
|
| 46 |
+
- Also Available in Flux LoRA DLC: https://huggingface.co/spaces/prithivMLmods/FLUX-LoRA-DLC
|
| 47 |
+
|
| 48 |
+
**The model is still in the training phase. This is not the final version and may contain artifacts and perform poorly in some cases.**
|
| 49 |
+
|
| 50 |
+
## Model description
|
| 51 |
+
|
| 52 |
+
**prithivMLmods/Canopus-LoRA-Flux-UltraRealism-2.0**
|
| 53 |
+
|
| 54 |
+
Image Processing Parameters
|
| 55 |
+
|
| 56 |
+
| Parameter | Value | Parameter | Value |
|
| 57 |
+
|---------------------------|--------|---------------------------|--------|
|
| 58 |
+
| LR Scheduler | constant | Noise Offset | 0.03 |
|
| 59 |
+
| Optimizer | AdamW | Multires Noise Discount | 0.1 |
|
| 60 |
+
| Network Dim | 64 | Multires Noise Iterations | 10 |
|
| 61 |
+
| Network Alpha | 32 | Repeat & Steps | 30 & 3.8K+ |
|
| 62 |
+
| Epoch | 20 | Save Every N Epochs | 1 |
|
| 63 |
+
|
| 64 |
+
Labeling: florence2-en(natural language & English)
|
| 65 |
+
|
| 66 |
+
Total Images Used for Training : 70 [ Hi-RES ] & More ...............
|
| 67 |
+
|
| 68 |
+
## 🚀New Version Available Here🚀
|
| 69 |
+
|
| 70 |
+
Here's a table summarizing the relevant information about the **`Flux-Super-Realism-LoRA`** model on Hugging Face:
|
| 71 |
+
|
| 72 |
+
| **Feature** | **Details** |
|
| 73 |
+
|-------------------------|-----------------------------------------------------------------------------|
|
| 74 |
+
| **Model Name** | `Flux-Super-Realism-LoRA` |
|
| 75 |
+
| **Repository** | [strangerzonehf/Flux-Super-Realism-LoRA](https://huggingface.co/strangerzonehf/Flux-Super-Realism-LoRA) |
|
| 76 |
+
| **Author** | `strangerzonehf` |
|
| 77 |
+
| **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. |
|
| 78 |
+
| **Model Type** | LoRA (Low-Rank Adaptation for Transformers) |
|
| 79 |
+
| **Use Cases** | - Photorealistic image generation<br>- High-fidelity art<br>- Texture detailing and enhancement |
|
| 80 |
+
| **Primary Language** | Not applicable (model is image-based) |
|
| 81 |
+
| **Base Model** | Model used as the foundation for LoRA fine-tuning (may vary per implementation) |
|
| 82 |
+
| **License** | Refer to Hugging Face model page for specific licensing information. |
|
| 83 |
+
| **Tags** | super-realism, LoRA, high-fidelity, hyper-realistic |
|
| 84 |
+
| **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. |
|
| 85 |
+
| **Pipeline** | Use in `StableDiffusionPipeline` or compatible image generation pipelines. |
|
| 86 |
+
|
| 87 |
+
## Image Compare DLC.
|
| 88 |
+
|
| 89 |
+

|
| 90 |
+
|
| 91 |
+
---
|
| 92 |
+
|
| 93 |
+
| Image | Description |
|
| 94 |
+
|-------|-------------|
|
| 95 |
+
| **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 |
|
| 96 |
+
| **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 |
|
| 97 |
+
| **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 |
|
| 98 |
+
| **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. |
|
| 99 |
+
|
| 100 |
+
## Other Sample
|
| 101 |
+
|
| 102 |
+
| Image | Prompt |
|
| 103 |
+
|-------|--------|
|
| 104 |
+
|  | Photography, envision an image steeped in urban nostalgia, a portrait of youthful ennui set against the backdrop of a timeless cityscape. A woman lounges languidly on an old, industrial metal staircase, her pose exuding a sense of introspection and quiet defiance. A plain black t-shirt, snug and slightly worn, subtly contours to her frame. Her black jeans embrace streetwear chic. Classic black and white shoes strike a stark contrast with the rusted steps, while her casual lace-up style hints at a readiness to spring into motion. Her hair is a cascade of dark waves, partly obscured by a black cap, its brim peeking out with a hint of youthful edge. Around her, the weathered brick walls whisper stories of the city's past, the windows reflecting fragmented visions of urban life. There's an air of contemplation as she rests her head on one arm, gazing distantly, perhaps lost in thought or simply enjoying a moment of solitude in the urban maze. Used camera: Sony α9 II with Sony FE 100-400mm f/4.5-5.6 GM OSS lens, emulating a high-contrast, ultra realistic style. --ar 9:16 --style raw --stylize 750 |
|
| 105 |
+
|
| 106 |
+
---
|
| 107 |
+
|
| 108 |
+
## Trigger words
|
| 109 |
+
|
| 110 |
+
You should use `Ultra realistic` to trigger the image generation.
|
| 111 |
+
|
| 112 |
+
## Other Versions
|
| 113 |
+
|
| 114 |
+
Here’s a table format for the Hugging Face model **"prithivMLmods/Canopus-LoRA-Flux-FaceRealism"**:
|
| 115 |
+
|
| 116 |
+
| **Attribute** | **Details** |
|
| 117 |
+
|---------------------------|--------------------------------------------------------------------------------------------------------------|
|
| 118 |
+
| **Model Name** | Canopus-LoRA-Flux-FaceRealism |
|
| 119 |
+
| **Model ID** | `prithivMLmods/Canopus-LoRA-Flux-FaceRealism` |
|
| 120 |
+
| **Hugging Face URL** | [Canopus-LoRA-Flux-FaceRealism](https://huggingface.co/prithivMLmods/Canopus-LoRA-Flux-FaceRealism) |
|
| 121 |
+
| **Model Type** | LoRA (Low-Rank Adaptation) |
|
| 122 |
+
| **Primary Use Case** | Face Realism image generation |
|
| 123 |
+
| **Supported Framework** | Hugging Face Diffusers |
|
| 124 |
+
| **Data Type** | `bfloat16`, `fp16`, `float32` |
|
| 125 |
+
| **Compatible Models** | Stable Diffusion, Flux models |
|
| 126 |
+
| **Model Author** | `prithivMLmods` |
|
| 127 |
+
| **LoRA Technique** | LoRA for image style transfer with a focus on generating realistic faces |
|
| 128 |
+
| **Model Version** | Latest |
|
| 129 |
+
| **License** | Open-Access |
|
| 130 |
+
| **Tags** | LoRA, Face Realism, Flux, Image Generation |
|
| 131 |
+
|
| 132 |
+
## Setting Up
|
| 133 |
+
```
|
| 134 |
+
import torch
|
| 135 |
+
from pipelines import DiffusionPipeline
|
| 136 |
+
|
| 137 |
+
base_model = "black-forest-labs/FLUX.1-dev"
|
| 138 |
+
pipe = DiffusionPipeline.from_pretrained(base_model, torch_dtype=torch.bfloat16)
|
| 139 |
+
|
| 140 |
+
lora_repo = "prithivMLmods/Canopus-LoRA-Flux-UltraRealism-2.0"
|
| 141 |
+
trigger_word = "Ultra realistic"
|
| 142 |
+
pipe.load_lora_weights(lora_repo)
|
| 143 |
+
|
| 144 |
+
device = torch.device("cuda")
|
| 145 |
+
pipe.to(device)
|
| 146 |
+
```
|
| 147 |
+
## App File Structure
|
| 148 |
+
|
| 149 |
+
/project-root/
|
| 150 |
+
|
| 151 |
+
│
|
| 152 |
+
├── .gitattributes
|
| 153 |
+
├── README.md
|
| 154 |
+
├── app.py
|
| 155 |
+
├── pythonproject.py
|
| 156 |
+
|
| 157 |
+
## Download model
|
| 158 |
+
|
| 159 |
+
Weights for this model are available in Safetensors format.
|
| 160 |
+
|
| 161 |
+
[Download](/prithivMLmods/Canopus-LoRA-Flux-UltraRealism-2.0/tree/main) them in the Files & versions tab
|
| 162 |
+
.
|
| 163 |
+
.
|
| 164 |
+
.🤗: https://hf.co/prithivmlmods
|
images/3.png
ADDED
|
Git LFS Details
|
images/34.png
ADDED
|
Git LFS Details
|
images/4.png
ADDED
|
Git LFS Details
|
images/5.png
ADDED
|
Git LFS Details
|
images/XX.png
ADDED
|
Git LFS Details
|
images/flux1.png
ADDED
|
Git LFS Details
|