stablediffusion吧 关注:45,136贴子:186,272
  • 1回复贴,共1

跑工作流时人像遮罩ultra2报错该怎么解决?

只看楼主收藏回复

ComfyUI是最新版
报错节点为:LayerStyle_Advance 的 PersonMask ultra2节点
文本版前两行:
Error(s) in loading state_dict for VitMatteForImageMatting:
size mismatch for backbone.embeddings.position_embeddings: copying a param with shape torch.Size([lbk]1, 197, 384[rbk]) from checkpoint, the shape in current model is torch.Size([lbk]1, 197, 768[rbk]).
size mismatch for backbone.embeddings.projection.weight: copying a param with shape torch.Size([lbk]384, 4, 16, 16[rbk]) from checkpoint, the shape in current model is torch.Size([lbk]768, 3, 16, 16[rbk]).
该报错如何解决,求指点,谢谢大佬们


IP属地:甘肃来自Android客户端1楼2025-04-11 14:41回复
    更新插件


    IP属地:北京来自Android客户端2楼2025-04-11 18:39
    回复