cubiq / ComfyUI_IPAdapter_plus

GNU General Public License v3.0
3.92k stars 294 forks source link

Error occurred when executing IPAdapterStyleComposition: #466

Closed zsp367252405 closed 5 months ago

zsp367252405 commented 5 months ago

Error occurred when executing IPAdapterStyleComposition:

CrossAttentionPatch.set_new_condition() got an unexpected keyword argument 'cond_alt'

File "C:\ComfyUI\execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "C:\ComfyUI\execution.py", line 81, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) File "C:\ComfyUI\execution.py", line 74, in map_node_over_list results.append(getattr(obj, func)(slice_dict(input_data_all, i))) File "C:\ComfyUI\custom_nodes\ComfyUI_IPAdapter_plus\IPAdapterPlus.py", line 673, in apply_ipadapter return (ipadapter_execute(model.clone(), ipadapter_model, clip_vision, ipa_args), ) File "C:\ComfyUI\custom_nodes\ComfyUI_IPAdapter_plus\IPAdapterPlus.py", line 383, in ipadapter_execute set_model_patch_replace(model, patch_kwargs, ("input", id, index)) File "C:\ComfyUI\custom_nodes\ComfyUI_IPAdapter_plus\IPAdapterPlus.py", line 144, in set_model_patch_replace to["patches_replace"]["attn2"][key].set_new_condition(**patch_kwargs)

zsp367252405 commented 5 months ago

QQ截图20240413172119

zsp367252405 commented 5 months ago

[AI摄影(1).json] (https://github.com/cubiq/ComfyUI_IPAdapter_plus/files/14965940/AI.1.json) Workflows

cubiq commented 5 months ago

you need to update instantid and ipadapter

zsp367252405 commented 5 months ago

you need to update instantid and ipadapter您需要更新 InstantID 和 ipAdapter

Okay. I only updated the ipadapter before, without updating the instantid. This question has been bothering me all afternoon. Thanks