cubiq/ComfyUI_InstantID

How to solve this problem has been bothering me for several days.

riviks opened this issue · 0 comments

Error occurred when executing InstantIDFaceAnalysis:

'INSwapper' object has no attribute 'taskname'

File "D:\Software\ComfyUI\ComfyUI-aki-v1.3\execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "D:\Software\ComfyUI\ComfyUI-aki-v1.3\execution.py", line 81, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "D:\Software\ComfyUI\ComfyUI-aki-v1.3\execution.py", line 74, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "D:\Software\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\ComfyUI_InstantID\InstantID.py", line 217, in load_insight_face
model = FaceAnalysis(name="antelopev2", root=INSIGHTFACE_DIR, providers=[provider + 'ExecutionProvider',]) # alternative to buffalo_l
File "D:\Software\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\comfyui-reactor-node\reactor_patcher.py", line 54, in patched_faceanalysis_init
elif model.taskname not in self.models and (allowed_modules is None or model.taskname in allowed_modules):