Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

安装了ip-adapter依赖,还是报错 #18

Open
vanche1212 opened this issue Apr 29, 2024 · 4 comments
Open

安装了ip-adapter依赖,还是报错 #18

vanche1212 opened this issue Apr 29, 2024 · 4 comments

Comments

@vanche1212
Copy link

File "/modeldata/ComfyUI/nodes.py", line 1864, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/modeldata/ComfyUI/custom_nodes/ComfyUI-MuseV/init.py", line 1, in
from .nodes import NODE_CLASS_MAPPINGS
File "/modeldata/ComfyUI/custom_nodes/ComfyUI-MuseV/nodes.py", line 52, in
from musev.models.ip_adapter_face_loader import (
File "/modeldata/ComfyUI/custom_nodes/ComfyUI-MuseV/musev/models/ip_adapter_face_loader.py", line 38, in
from ip_adapter.ip_adapter_faceid import ProjPlusModel, MLPProjModel
ImportError: cannot import name 'ProjPlusModel' from 'ip_adapter.ip_adapter_faceid' (/etc/anaconda3/envs/comfyui/lib/python3.10/site-packages/ip_adapter/ip_adapter_faceid.py)

是版本问题么

@vanche1212
Copy link
Author

print(dir(ip_adapter.ip_adapter_faceid))
['CLIPImageProcessor', 'CLIPVisionModelWithProjection', 'IPAdapterFaceID', 'Image', 'List', 'LoRAAttnProcessor', 'LoRAIPAttnProcessor', 'MLPProjModel', 'MultiControlNetModel', 'StableDiffusionPipeline', 'builtins', 'cached', 'doc', 'file', 'loader', 'name', 'package', 'spec', 'os', 'safe_open', 'torch']
我发现ip_adapter已经没有了ProjPlusModel

@vanche1212
Copy link
Author

把这个ProjPlusModel去掉了
Uploading image.png…

@lipeng1109
Copy link

me too

@Sunyyyy
Copy link

Sunyyyy commented Aug 13, 2024

just use following command to install id_adapter dependency

pip install diffusers==0.22.1
pip install git+https://github.com/tencent-ailab/IP-Adapter.git

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants