cubiq / ComfyUI_IPAdapter_plus

GNU General Public License v3.0
3.14k stars 237 forks source link

Errors of insightface models in ipadapter_advanced.json #524

Open Zeelyne opened 2 months ago

Zeelyne commented 2 months ago

Hello.

I tried to run the ipadapter_advanced.json in ComfyUI\custom_nodes\ComfyUI_IPAdapter_plus\examples.

There is a problem with the loader. When using the b79k clipvision, I could only apply the ipadapter-sd15-vitG.safetensors as model. All other models are not working. If i applied other sd15 or sdxl models, which do not include faceid, as the ipadapter model, the erros was like the following: image

If i applied other models with "faceid" in it, as the ipadapter model, the erros was like the following: image

And here are all the ipadapter models i have in my compter. image

I think i have installed the insightface, because when i typed in the python_embedded cmd, the following command: python.exe -m pip install "D:\stablediffusion\sd2\insightface-0.7.3-cp311-cp311-win_amd64.whl" onnxruntime It told me that its aldready satisfied.

Anyone knows how to fix this ? Thansk a lot!! I have downloded the clip_vision model and insightface models seperatively in ComfyUI\models, like the following image. image

Zeelyne commented 2 months ago

I realized that in other json. The same thing occured. In ipadapter_simple.json, I could run successfully the .json, by applying the Vit-G as the ipadapter model: image

But with any other model, the error occured.