File size: 4,157 Bytes
b4f949b
 
 
 
 
 
 
1938254
 
 
cad7218
0d10823
33a0d26
b4f949b
1938254
 
 
 
b4f949b
adaf55e
1938254
 
 
b4f949b
adaf55e
1938254
 
 
b4f949b
adaf55e
b4f949b
7563ab3
 
b4f949b
 
 
d62d0f9
b4f949b
 
 
 
f903815
 
454f784
 
 
 
 
5aec327
49ef840
454f784
 
b4f949b
 
29f460b
b4f949b
96a6828
 
32396f9
 
cf7461b
 
 
 
 
96a6828
47d825d
96a6828
64c44f1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
cf7461b
 
1938254
cf7461b
 
1938254
cf7461b
 
1938254
cf7461b
 
 
 
 
b4f949b
 
 
 
 
33a0d26
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
---
tags:
- text-to-image
- stable-diffusion
- lora
- diffusers
- template:sd-lora
- StableDiffusionXLPipeline
- Inference Endpoints
- sdxl
- realism
- tensorart
- face-diffusion
widget:
- text: >-
    A man dressed in sunglasses and brown jacket, in the style of cypherpunk,
    timeless beauty, exacting precision, uhd image, aleksandr deyneka, matte
    background, leather/hide  --ar 67:101 --v 5
  output:
    url: images/1.png
- text: >-
    A studio portrait of a brunette model wearing a dress in front of a natural
    background --v 6.0 --style raw
  output:
    url: images/2.png
- text: >-
    Man in the style of dark beige and brown, uhd image, youthful protagonists,
    nonrepresentational 
  output:
    url: images/3.png
base_model: stabilityai/stable-diffusion-xl-base-1.0
datasets:
- prithivMLmods/Canopus-Realism-Minimalist
instance_prompt: PhotoRealism
license: creativeml-openrail-m
---

# Canopus Photo Realism

<Gallery />

**The model is still in the training phase. This is not the final version and may contain artifacts and perform poorly in some cases.**

## Working Demo Canopus-Realism

| Parameter           | Description                                          |
|---------------------|------------------------------------------------------|
| **Space Name**      | Canopus-Realism                                      |
| **Hosted on**       | [⚡Hugging Face Spaces⚡](https://huggingface.co/spaces/prithivMLmods/Canopus-Realism) |
| **Default Theme**   |      Light by Defalut / Can be altered                                         |
| **Description**     | Canopus-Realism provides realistic image generation capabilities with a focus on high-quality outputs. |

## Model description 

Canopus Photo Realism - LoRA

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                    | 20     |
| Epoch                     | 20     | Save Every N Epochs       | 1      |

## SETTING-UP

```py
    pipe = StableDiffusionXLPipeline.from_pretrained(
        "-------------xxxxxxxxx----------",
        torch_dtype=torch.float16,
        use_safetensors=True,
    )
                    (or)
-----------------------------------------------------------
    pipe = StableDiffusionXLPipeline.from_pretrained(
        "stabilityai/stable-diffusion-xl-base-1.0",
        torch_dtype=torch.float16,
        use_safetensors=True,
    )
    pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config)
    
    pipe.load_lora_weights("prithivMLmods/Canopus-Realism-LoRA", weight_name="Canopus-Realism-LoRA.safetensors", adapter_name="rlms")
    pipe.set_adapters("rlms")
    pipe.to("cuda")
```
## Trigger prompts

    A man dressed in sunglasses and brown jacket, in the style of cypherpunk, timeless beauty, exacting precision, uhd image, aleksandr deyneka, matte background, leather/hide  --ar 67:101 --v 5


    A studio portrait of a brunette model wearing a dress in front of a natural background --v 6.0 --style raw


    Man in the style of dark beige and brown, uhd image, youthful protagonists, nonrepresentational 

| Parameter       | Value                                                                                 |
|-----------------|---------------------------------------------------------------------------------------|
| Prompt          | Closeup of blonde woman depth of field, bokeh, shallow focus, minimalism, fujifilm xh2s with Canon EF lens, cinematic --ar 85:128 --v 6.0 --style raw |
| Sampler         | euler                                                                                 |

## Download model

Weights for this model are available in Safetensors format.

[Download](/prithivMLmods/Canopus-Realism-LoRA/tree/main) them in the Files & versions tab.