首先感谢 up 秋葉aaaki 大佬的lora训练脚本整合包。
PS:请注意本文中的效果图需要lora插件支持,如何安装lora和使用lora,可以参考 up 秋葉aaaki 的视频
(资料图片)
https://www.bilibili.com/video/BV1Py4y1d7eJ/?spm_id_from=333.999.0.0&vd_source=0cb161511cc6b1efb5574fec37178017
本文的效果图基于个人制做的 AsiaFacemix模型和国风汉服少女lora模型。
模型下载地址:
huggingfaceg下载地址
https://huggingface.co/dcy/AsiaFacemix/tree/main
度盘下载地址
链接:https://pan.baidu.com/s/1rMHForWo4-QHz3Q-sDZpSA?pwd=xxn2
提取码:xxn2
个人推荐各位下载 AsiaFacemix-pruned-fix.safetensors版本,该版本修复的clipID转换错误的bug,生成的图质量更精细,细节更佳。
显卡只有4g资源紧张的小伙伴,可以下载使用 AsiaFacemix-pruned-fp16fix.safetensors的半精度模型版本。
lora模型介绍:推荐clip 设置为1。
lora-hanfugirl-v1.safetensors:相比1.5版有更好的妆容和脸型,但是部分人可能不喜欢厚妆。
lora-hanfugirl-v1-5.safetensors:稳定版本,去掉了多余的人脸,兼容不同分辨率较好。
solo,illustration.media of a hanfugirl,hanfu,perfect skin,make happy expressions,gorgeous,pure,beautyfull detailed face and eyes,large breasts,beautyfull intricacy clothing decorative pattern details,arms behind back,
colorful,clear sharp focus,instagram most viewed,
official wallpaper, official art,
volumetric lighting,soft lights,cinematic lighting,cinematic effects,
wallpaper,Megapixel,highres,Intricate details,ultra detailed,8k,
masterpiece, best quality
by wlop
size:756*1024
采样算法:Euler a
使用模型 AsiaFacemix-pruned-fix 效果图(未开启lora)
加载 lora 模型 lora-hanfugirl-v1-5.safetensors
使用方法:把模型放入..\extensions\sd-webui-additional-networks\models\lora目录下,并且在weiui文生图和图生图ui界面中,开启lora选项
开启后:tags中添加【hanfugirl】或加上hanfu,推荐一起使用,即触发lora模型效果。
开启lora模型后
weight(lora权重):0.5 偏插画风格
weight(lora权重):0.6 偏2.5d写实
weight(lora权重):0.7-0.8 伪照骗风
1024*768 适应效果 weight:0.6-0.8
以上,最后祝各位新年新气象,节后开工大吉!
Copyright@ 2015-2022 起点包装网版权所有 备案号: 皖ICP备2022009963号-12 联系邮箱:295 911 578@qq.com