当前位置:AIGC资讯 > AIGC > 正文

stablediffusion-roop无法换脸 生成图片后台报错

Error running postprocess_batch: D:\sd-webui-aki-v4.2\extensions\sd-webui-roop\scripts\faceswap.py

Traceback (most recent call last):

  File "D:\sd-webui-aki-v4.2\modules\scripts.py", line 496, in postprocess_image

    script.postprocess_image(p, pp, *script_args)

  File "D:\sd-webui-aki-v4.2\extensions\sd-webui-roop\scripts\faceswap.py", line 184, in postprocess_image

    result: ImageResult = swap_face(

  File "D:\sd-webui-aki-v4.2\extensions\sd-webui-roop\scripts\swapper.py", line 123, in swap_face

    source_face = get_face_single(source_img, face_index=0)

  File "D:\sd-webui-aki-v4.2\extensions\sd-webui-roop\scripts\swapper.py", line 76, in get_face_single

    face_analyser = insightface.app.FaceAnalysis(name="buffalo_l", providers=providers)

  File "D:\sd-webui-aki-v4.2\python\lib\site-packages\insightface\app\face_analysis.py", line 43, in __init__

    assert 'detection' in self.models

AssertionError

提示:Python 运行时抛出了一个异常。请检查疑难解答页面。

更新时间 2023-12-06