Instructions to use h94/IP-Adapter-FaceID with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use h94/IP-Adapter-FaceID with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("h94/IP-Adapter-FaceID", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
TypeError: FaceAnalysis.__init__() got an unexpected keyword argument 'providers'
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'
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