🚀 Canopus 照片写实主义模型
Canopus 照片写实主义模型专注于生成高质量的写实图像。不过该模型仍处于训练阶段,当前并非最终版本,可能存在瑕疵,在某些情况下表现欠佳。
🚀 快速开始
工作演示
参数 |
详情 |
空间名称 |
Canopus-Realism |
托管平台 |
⚡Hugging Face Spaces⚡ |
默认主题 |
默认浅色主题,可更改 |
描述 |
Canopus-Realism 具备生成写实图像的能力,着重于输出高质量的图像。 |
模型描述
Canopus 照片写实主义 - LoRA
图像处理参数如下:
参数 |
值 |
参数 |
值 |
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 |
安装设置
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")
触发提示
以下是一些触发提示示例:
- 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
参数 |
值 |
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 |
模型下载
该模型的权重以 Safetensors 格式提供。
可在 Files & versions 标签页 下载。
📄 许可证
本模型采用 creativeml-openrail-m 许可证。