cubiq / ComfyUI_InstantID

Apache License 2.0
945 stars 50 forks source link

An error occurs in the apply instantid node. Please help. #142

Closed ksl103177 closed 2 months ago

ksl103177 commented 2 months ago

Error occurred when executing ApplyInstantID:

'ModelPatcher' object has no attribute 'get_model_object'

File "C:\ComfyUI_windows_portable\ComfyUI\execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI_windows_portable\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_windows_portable\ComfyUI\execution.py", line 74, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_InstantID\InstantID.py", line 325, in apply_instantid sigma_start = model.get_model_object("model_sampling").percent_to_sigma(start_at)

jeremytao0 commented 2 months ago

same issue, but it's solved by update comfyui.