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
5.22k stars 337 forks source link

Bug Fix plz! #362

Open identify86 opened 5 months ago

identify86 commented 5 months 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 5 months ago

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

identify86 commented 5 months ago

JZZBY2TR@%0AWZIIQVPLKJG

unwork.....

andapka commented 5 months 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"