SDXL 1.0 对亚洲人形象的支持,相对于 SD 1.5 已经有了很大的提升。 我仍然针对 SDXL 训练了一个版本,在基础模型表现不佳的情况下可以尝试使用此 LoRA。
以 fp16 精度保存,以提供对早期显卡的支持。
基于 Realistic Vision v2.0 训练,大幅提高 epochs 到 80,大幅提高了人物形象和场景的真实性。
由于真实性的提高,可能在一些情况下,美学效果有所降低。如需要可继续使用 V1.2 版。
以下是基于 Realistic Vision v2.0 进行的 4 组对比,展示基础模型原生亚洲人(Asian),华人(Chinese)与本 LoRA 在权重 0.8 下生成的华人形象的区别:
此 LoRA 可与主要的基础模型配合使用。以下是基于 5 个常用基础模型(Realistic Vision v4.0,ReV Animated v1.2.2,Deliberate v2,ChilloutMix,Disney Pixar Cartoon type B v1.0)的应用效果对比:
如果我的工作对你有帮助,欢迎留下你的评价和评论,也请试用我的其他 LoRA 作品。你的支持对我非常重要。
Weights for this model are available in Safetensors format.
Download them in the Files & versions tab.
1from diffusers import AutoPipelineForText2Image
2import torch
3
4pipeline = AutoPipelineForText2Image.from_pretrained('stabilityai/stable-diffusion-xl-base-1.0', torch_dtype=torch.float16).to('cuda')
5pipeline.load_lora_weights('lordjia/dang-dai-hua-ren-contemporary-chinese-for-xl-sd1-5', weight_name='CC_v2.0_XL.safetensors')
6image = pipeline('a young woman on street, half body').images[0]
For more details, including weighting, merging and fusing LoRAs, check the
documentation on loading LoRAs in diffusers