File size: 3,875 Bytes
90af669
 
 
 
 
 
 
e16e738
 
 
5b3224a
 
 
b13bdfc
 
 
90af669
 
 
 
15d9ea8
90af669
4e26d2f
4b21602
90af669
 
7877bd0
90af669
c4b963a
 
 
 
 
 
 
 
 
 
7877bd0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c4b963a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
90af669
 
53db635
 
90af669
53db635
90af669
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
---
tags:
- text-to-image
- lora
- diffusers
- template:diffusion-lora
widget:
- text: 'Super Realism, Woman in a red jacket, snowy, in the style of hyper-realistic portraiture, caninecore, mountainous vistas, timeless beauty, palewave, iconic, distinctive noses --ar 72:101 --stylize 750 --v 6'
  output:
    url: images/3.png
- text: 'Super Realism, 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 rawHeadshot 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 rawHeadshot 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'
  output:
    url: images/2.png
- text: 'Super Realism, High-resolution photograph, woman, UHD, photorealistic, shot on a Sony A7III --chaos 20 --ar 1:2 --style raw --stylize 250'
  output:
    url: images/1.png
base_model: black-forest-labs/FLUX.1-dev
instance_prompt: Super Realism
license: mit
---
![strangerzonehf/Flux-Super-Realism-LoRA](images/sz.png)

## Stranger Zone's - Flux Super Realism LoRA

<Gallery />

## Model description for super realism

Image Processing Parameters 

| Parameter                 | Value  | Parameter                 | Value  |
|---------------------------|--------|---------------------------|--------|
| LR Scheduler              | constant | Noise Offset              | 0.03   |
| Optimizer                 | AdamW  | Multires Noise Discount   | 0.1    |
| Network Dim               | 64     | Multires Noise Iterations | 10     |
| Network Alpha             | 32     | Repeat & Steps           | 30 & 4380|
| Epoch                     | 20  | Save Every N Epochs       | 1      |

## Base model and other related model comparison

Comparison between the base model FLUX.1-dev and its adapter, a LoRA model tuned for super-realistic realism.

![strangerzonehf/Flux-Super-Realism-LoRA](images/sz2.png)

However, it performs better in various aspects compared to its previous models, including face realism, ultra-realism, and others.

![strangerzonehf/Flux-Super-Realism-LoRA](images/sz3.png)

## Model Training Details

| Feature                        | Description                         |
|--------------------------------|-------------------------------------|
| **Labeling**                   | florence2-en (natural language & English) |
| **Total Images Used for Training** | 55 [Hi-Res]                  |
| **Best Dimensions**            | - 1024 x 1024 (Default)             |
|                                | - 768 x 1024                        |

## Setting Up
```python
import torch
from pipelines import DiffusionPipeline

base_model = "black-forest-labs/FLUX.1-dev"
pipe = DiffusionPipeline.from_pretrained(base_model, torch_dtype=torch.bfloat16)

lora_repo = "strangerzonehf/Flux-Super-Realism-LoRA"
trigger_word = "Super Realism"   #triggerword
pipe.load_lora_weights(lora_repo)

device = torch.device("cuda")
pipe.to(device)
```
## Trigger words

> [!WARNING]
> **Trigger words:**  You should use `Super Realism` to trigger the image generation.

- The trigger word is not mandatory; ensure that words like "realistic" and "realism" appear in the image description. The "super realism" trigger word should prompt an exact match to the reference image in the showcase.
## Download model

Weights for this model are available in Safetensors format.

[Download](/strangerzonehf/Flux-Super-Realism-LoRA/tree/main) them in the Files & versions tab.