cubiq / ComfyUI_IPAdapter_plus

GNU General Public License v3.0
3.2k stars 240 forks source link

IPAdapterAdvanced.apply_ipadapter() got an unexpected keyword argument 'layer_weights' #435

Closed freke70 closed 3 months ago

freke70 commented 3 months ago

Just updated the ipadapter. I now get this error:

Error occurred when executing IPAdapterFaceID:

IPAdapterAdvanced.apply_ipadapter() got an unexpected keyword argument 'layer_weights'

File "/workspace/ComfyUI/execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "/workspace/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 "/workspace/ComfyUI/execution.py", line 74, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))

I used the same workflow that worked before the update and used the one in the examples: ipadapter_faceid_batch.json

But error happens in both.

cubiq commented 3 months ago

refresh the page and re-select the weight_type. (no need to re-create the node)

cubiq commented 3 months ago

okay fixed with the latest update

freke70 commented 3 months ago

Thanks, that was very fast. Works again :)