File size: 3,847 Bytes
6433512 1b1c07c 6433512 1b1c07c 6433512 1b1c07c 6433512 1b1c07c 6433512 ce1bd4c 6433512 |
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 |
---
tags:
- text-to-image
- stable-diffusion
- lora
- diffusers
- template:sd-lora
widget:
- text: 'Photography, upper body, yellow hue, woman model, solid yellow backdrop, yellow eyes detailing, using a camera setup that mimics a large aperture, f/1.4 --ar 9:16 --style raw'
output:
url: images/ps1.png
- text: 'Young red-haired man, in turtleneck shirt, gold color, dynamic pose, side view, light background, front lighting, medium shot, high quality photo --ar 2:3 --v 5'
output:
url: images/ps2.png
- text: 'A photo of an attractive man in his thirties, wearing a black coat and yellow scarf with a brown pattern inside a building talking on a phone standing near a modern glass skyscraper in London, shot from below looking up at him in the style of street photography, cinematic. --ar 85:128 --v 6.0 --style raw'
output:
url: images/ps3.png
base_model: stabilityai/stable-diffusion-xl-base-1.0
instance_prompt: Photo Shoot
license: creativeml-openrail-m
---
# Photo-Shoot-Mini-LoRA
<Gallery />
## Model description
Canopus-Photo-Shoot-Mini-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 | 27 |
| 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-Photo-Shoot-Mini-LoRA", weight_name="Canopus-Photo-Shoot-Mini-LoRA.safetensors", adapter_name="photo")
pipe.set_adapters("photo")
pipe.to("cuda")
```
## Trigger prompts
Photography, upper body, yellow hue, woman model, solid yellow backdrop, yellow eyes detailing, using a camera setup that mimics a large aperture, f/1.4 --ar 9:16 --style raw
Young red-haired man, in turtleneck shirt, gold color, dynamic pose, side view, light background, front lighting, medium shot, high quality photo --ar 2:3 --v 5
A photo of an attractive man in his thirties, wearing a black coat and yellow scarf with a brown pattern inside a building talking on a phone standing near a modern glass skyscraper in London, shot from below looking up at him in the style of street photography, cinematic. --ar 85:128 --v 6.0 --style raw
| Parameter | Value |
|-----------------|---------------------------------------------------------------------------------------|
| Prompt | Young red-haired man, in turtleneck shirt, gold color, dynamic pose, side view, light background, front lighting, medium shot, high quality photo --ar 2:3 --v 5 |
| Sampler | euler |
## Trigger words
You should use `Photo Shoot` to trigger the image generation.
## Download model
Weights for this model are available in Safetensors format.
[Download](/prithivMLmods/Canopus-Photo-Shoot-Mini-LoRA/tree/main) them in the Files & versions tab.
|