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 運行時拋出了一個異常。請檢查疑難解答頁面。