chaojie / ComfyUI-MuseV

MIT License
127 stars 13 forks source link

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

Open vanche1212 opened 2 months ago

vanche1212 commented 2 months ago

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 commented 2 months ago

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 commented 2 months ago

把这个ProjPlusModel去掉了 ![Uploading image.png…]()

lipeng1109 commented 1 month ago

me too