cubiq / ComfyUI_IPAdapter_plus

GNU General Public License v3.0
3.17k stars 238 forks source link

IPAdapterEncoder.encode() missing 1 required positional argument: 'ipadapter' #480

Open dengfenglai321 opened 2 months ago

dengfenglai321 commented 2 months ago

企业微信截图_17132543855249 执行上面工作流报错如下:

ipadapter 92392739 : dict_keys(['clipvision', 'ipadapter', 'insightface'])
Requested to load CLIPVisionModelProjection
Loading 1 new model
!!! Exception during processing !!!
Traceback (most recent call last):
  File "/xxx/workpace/jj/ComfyUI-master/execution.py", line 151, in recursive_execute
    output_data, output_ui = get_output_data(obj, input_data_all)
  File "/xxx/workpace/jj/ComfyUI-master/execution.py", line 81, in get_output_data
    return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
  File "/xxx/workpace/jj/ComfyUI-master/execution.py", line 74, in map_node_over_list
    results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
TypeError: IPAdapterEncoder.encode() missing 1 required positional argument: 'ipadapter'

请问怎么解决呢?

cubiq commented 2 months ago

please use standard nodes with no extra extensions and report back

dengfenglai321 commented 2 months ago

please use standard nodes with no extra extensions and report back

这个就是example文件夹里面的demo.png工作流。

Edwinhei commented 2 months ago

和你一样的问题,你解决了吗

cubiq commented 2 months ago

there is not demo.png in the example folder and you are using efficient loader from your screenshot which is not a default node.

also please take the effort to translate your messages, thanks