TypeError: FaceAnalysis.__init__() got an unexpected keyword argument 'providers'

#42
by EricXu24 - opened

Hi guys, I try to using FACEID on SD WebUI and I got the below error, could U kindly help.Or is only working on Comfy?
TypeError: FaceAnalysis.init() got an unexpected keyword argument 'providers'

Owner

install onnxruntime

Thanks a lot! And ‘pip install insightface==0.7.3’ worked for me.

Hi brother,I try to this,but I can't understand how to use about 'pip install insightface==0.7.3’

ok,I konw how to use,.you used insightface is low,you shoud pip up.

==========InsightFace手动安装说明=============

1.下载对应版本的whl文件放置到py根目录下:
https://github.com/Gourieff/Assets/tree/main/Insightface

2.如之前安装失败请先卸载:
python.exe -m pip uninstall insightface

3.更新pip:
python.exe -m pip install -U pip

4.通过whl文件安装InsightFace:
python.exe -m pip install insightface-0.7.3-cp311-cp311-win_amd64.whl

Sign up or log in to comment