cubiq / ComfyUI_IPAdapter_plus

GNU General Public License v3.0
3.93k stars 296 forks source link

Error occurred when executing IPAdapterAdvanced #427

Closed yaboosat closed 5 months ago

yaboosat commented 5 months ago

Hello, I'm getting this error when I want to run the ipAdapter Plus model.

Error occurred when executing IPAdapterAdvanced:

'ModelPatcher' object has no attribute 'get_model_object'

File "/home/gp/cu/ComfyUI/execution.py", line 155, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "/home/gp/cu/ComfyUI/execution.py", line 85, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) File "/home/gp/cu/ComfyUI/execution.py", line 78, in map_node_over_list results.append(getattr(obj, func)(slice_dict(input_data_all, i))) File "/home/gp/cu/ComfyUI/custom_nodes/ComfyUI_IPAdapter_plus/IPAdapterPlus.py", line 639, in apply_ipadapter return (ipadapter_execute(model.clone(), ipadapter_model, clip_vision, ipa_args), ) File "/home/gp/cu/ComfyUI/custom_nodes/ComfyUI_IPAdapter_plus/IPAdapterPlus.py", line 329, in ipadapter_execute sigma_start = model.get_model_object("model_sampling").percent_to_sigma(start_at)

I've downloaded and put all ipadapter models as instructed on github page into a /model/ipadapter
aleph65 commented 5 months ago

I just got this as well

Anning-Li commented 5 months ago

got this as well, error occurred when using sdxl model for ipadapter advanced

cubiq commented 5 months ago

Please search the issue tracker before posting a new issue. This is also answered in pinned "common issues" https://github.com/cubiq/ComfyUI_IPAdapter_plus/issues/108

yaboosat commented 5 months ago

Ok, I was able to solve my issue. The problem is my ComfyUI version was outdated and I had to updated it as well. I thought I should only need to update the extension.