[OC] Eleanor (Embeddings)

详情

下载文件

模型描述

这是我为这个OC进行LoRA训练的第一步:制作嵌入以帮助批量生成她

  • EleanorDescILL(56个标记):她的头发、眼睛和妆容,以及机械臂

  • EleanorOutfitILL(37个标记):她的标准服装,包括鞋履

示例提示:

1girl, solo, smiling, EleanorDescILL, interesting angle, eye-catching, crossed legs
BREAK
EleanorOutfitILL, simple background, black background, MechaP0s

注意:我在这里发布这些仅用于描述和链接图片。它们可能不会长期使用 😅

长篇说明

在制作这些嵌入时,我使用了Embedding merge。第一步是清理原始提示:

1girl, solo, cowboy shot, dynamic pose, smug, (orange hair):1.2, short hair, hime cut, (blue eyes, black sclera), black lipstick, makeup, eyeliner, mascara, (bright green shirt, buttoned up, gold buttons), sleeveless, suspenders, (full mechanical arms, mechanical shoulders, gold metal, gold robot joints):1.1, black shorts, leather shorts, garter straps, (combat boots, black boots, punk boots), simple background, black background, MechaP0s

变为:

(orange hair, short hair, hime cut), orange hair, (blue eyes, black sclera), black lipstick, (makeup, eyeliner, mascara), (full mechanical arms, mechanical arms, mechanical shoulders, gold metal, gold robot joints)

和:

(bright green shirt, buttoned up, gold buttons), sleeveless, suspenders, (black shorts, leather shorts), garter straps, (combat boots, black boots, punk boots)

目标是移除任何权重(:1.2:1.1),按“描述”和“服装”分组,为可能被跳过的部分复制标签(如发色和机械臂),并用括号将属于同一组的元素“合并”。

如果需要增加权重,理论上可以使用EM对标签进行多次复制,但我发现这并不完美。我通常随后手动进行调整(例如):

>>> from safetensors.torch import load_file, save_file
>>> o = load_file("EleanorDescILLbefore.safetensors")
>>> n = {}
>>> n['clip_g'] = o['clip_g'] * 1.2
>>> n['clip_l'] = o['clip_l'] * 1.2
>>> save_file(n, "EleanorDescILLafter.safetensors")
>>> exit()

下一步是进行几次测试,必要时进行调整(请注意:删除或重新创建同名嵌入时,需要重启Forge/A1111)。

现在,开始批量生成吧 😁

PS:这些嵌入无法在网站上直接使用,是使用NewMecha制作的。它们在其他检查点上的效果可能不佳。

补充:我通过一个小技巧对描述嵌入做了小幅修补:重命名并复用旧版本,添加新标签:

EleanorDescILLold, blue eyes, robot arms

有时眼睛会变成橙色,且根据姿势,双臂未必都是机械的。这仍不足以保证一致性,但在通过LoRA确保一致性之前,已经足够好了。

此模型生成的图像

未找到图像。