LoRA模型是轻型的Stable Diffusion模型,是对标准的Checkpoint模型进行微调制作而成的。LoRA比通常的Checkpoint模型小10到100倍,这使得它们对那些喜欢收集大量模型的人或组织非常有吸引力。这是一篇为之前没有使用过LoRA模型的读者写的。
让我们随便生成一下,参数如下:best quality, ultra high res, , 1woman, sleeveless white button shirt, black skirt, black choker, cute, , , , , looking at viewer, full body, facing front,Negative prompt: paintings, sketches, , , , lowres, normal quality, , , skin spots, acnes, skin blemishes, age spot, glans, nsfw, nipples。
附上参考prompt:k, RAW photo:1.2),best quality, ultra high res, highly detailed,intricate detail,masterpiece,ultra-detailed,illustration,highres,,, detailed face, looking at viewer,, lovely lips,,fashion dress,dynamic pose,beautiful detailed girl, extremely detailed eyes and face,adorable,,cinematic, , sharp colors, soft cinematic light, hyperdetail, hdr, sharp focus。
前言LoRA,全称Low-Rank Adaptation of LargeLanguage Models,直译为大语言模型的低阶适应。LoRA的作用是可以让结果倾向于一种风格,比如使用水墨风LoRA可以使结果是水墨风格,使用人物LoRA可以使人物趋向于一种样貌。
提示词为:photorealistic, long_hair, realistic, solo, long_hair, , best quality, ultra high res, teeth, Long sleeve,Blue dress, Big mouth,full body,3girls, Grin, graffiti , ok sign,smile,stand,1girl,full body,beautiful, masterpiece, best quality, extremely detailed face, perfect lighting,1girl, solo,best quality, ultra high res, ,parted lipslipstick,ultra detailed,Peach buttock,looking at viewer,masterpiece, best quality,反向提示词为:, , , lowres, normal quality, , , skin spots, acnes, skin blemishes, age spot, glans,extra fingers,fewer fingers,strange fingers,bad hand。
书接上回《【AI绘画进阶篇】(手把手教你炼丹)喂饭级LoRA模型训练教程(上)》,这时我们已经打开了LoRA训练程序。下面开始进行参数的设置。如图,从WebUI界面的左到右开始设置。源模型和目录参数设置先选择源模型,这里选择Stable Diffusion V1.5模型。
最近我在网上冲浪时看到了一个好玩的LoRA,它可以将真人照片和卡通图像进行组合,从而生成一张极具创新的风格插图。预计很快就会在小红书上火了。该工具是由Nvwa model studio联合shakker labs推出的一款创意LoRA模型。
具体可参加之前的文章《AI绘画教程:如何用Stable Diffusion训练出自己专属的人像模型?》可以在Stable Diffusion的训练页面进行图片处理,也可以安装dataset-tag-editor、wd14-tagger这些插件来处理。