#2392·sd-scripts

在对某些 Anima FT 检查点进行 Lora 训练时, "状态字典中缺少关键字" 问题已解决

作者: yamosin创建于 2026年6月18日更新于 2026年6月18日

The actual reason for this issue seems to be that ComfyUI modified the key prefixes of the models during export, causing the training script to be unable to find the corresponding keys. Use the following script to restore the modified key prefixes. I tested that the repaired image generation had no impact, and it passed the model validation during training lora.

内容来源: kohya-ss/sd-scripts