tencent-ailab / IP-Adapter

The image prompt adapter is designed to enable a pretrained text-to-image diffusion model to generate images with image prompt.
Apache License 2.0
4.46k stars 289 forks source link

Bug Fix plz! #362

Open identify86 opened 1 month ago

identify86 commented 1 month ago

when i try to use control net

preprocessor “ip-adapter-auto” model "ip-adapter-faceid-plusv2_sd15", i got thie bug

ImportError: cannot import name '_libsvm' from partially initialized module 'sklearn.svm' (most likely due to a circular import) (F:\sd-webui-aki-v4.1\python\lib\site-packages\sklearn\svm__init__.py) $1%UE }3IV6ID)69PZ5R%CB

plz check it and fix up.thx!!!!!!

andapka commented 1 month ago

I got the same error. Select "ip-adapter-pulid" in the dropdown.

identify86 commented 1 month ago

JZZBY2TR@%0AWZIIQVPLKJG

unwork.....

andapka commented 1 month ago

Oh, sorry. For "ip-adapter-faceid-plusv2_sd15" you need "ip-adapter-faceid-plus". "ip-adapter-pulid" is used for "ip-adapter-plus-face_sd15" and "ip-adapter-plus_sd15"