comfyUI Apply IPAdapter报错has no attribute ‘weight_type‘
控件 Apply IPAdapter
后端报错:
ERROR:root:!!! Exception during processing !!!
ERROR:root:Traceback (most recent call last):
File "F:\ComfyUI\ComfyUI\execution.py", line 153, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\ComfyUI\ComfyUI\execution.py", line 83, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\ComfyUI\ComfyUI\execution.py", line 76, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\ComfyUI\ComfyUI\custom_nodes\ComfyUI_IPAdapter_plus\IPAdapterPlus.py", line 358, in apply_ipadapter
self.weight_type.append(weight_type)
^^^^^^^^^^^^^^^^
AttributeError: 'IPAdapterApply' object has no attribute 'weight_type'
解决办法
F:\ComfyUI\ComfyUI\custom_nodes\ComfyUI_IPAdapter_plus\IPAdapterPlus.py
第358行
修改前:
self.weight_type.append(weight_type)
修改后:
self.weight_type=weight_type
重启生效
作者:刚哥旅游 https://www.bilibili.com/read/cv27787112/ 出处:bilibili
更多推荐
所有评论(0)