Open vanche1212 opened 6 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
把这个ProjPlusModel去掉了 ![Uploading image.png…]()
me too
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
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)
是版本问题么