You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just installed some nodes in ComfyUI Desktop, including InstantID, and I have this issue.
I tried to put Antelopev2 models *.onnx inside './insightface/models/antelopev2' or './insightface/models/antelope' from the 'ComfyUI/models' directory, and inside './models/antelopev2' or './models/antelope' from the 'insightface' python package directory.
Also, I tried to change the root folder for the AnalysisFace Class from './insightface' to 'C:\ComfyUI.venv\Lib\site-packages\insightface' but nothing change.
Could you help me, please ?
ComfyUI Error Report
Error Details
Node ID: 20
Node Type: InstantIDFaceAnalysis
Exception Type: AssertionError
Exception Message:
Stack Trace
File "C:\Users\user\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\execution.py", line 327, in execute
output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\user\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\execution.py", line 202, in get_output_data
return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\user\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\execution.py", line 174, in _map_node_over_list
process_inputs(input_dict, i)
File "C:\Users\user\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\execution.py", line 163, in process_inputs
results.append(getattr(obj, func)(**inputs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\ComfyUI\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 "C:\ComfyUI\.venv\Lib\site-packages\insightface\app\face_analysis.py", line 43, in __init__
assert 'detection' in self.models
^^^^^^^^^^^^^^^^^^^^^^^^^^
The text was updated successfully, but these errors were encountered:
Hello,
I just installed some nodes in ComfyUI Desktop, including InstantID, and I have this issue.
I tried to put Antelopev2 models *.onnx inside './insightface/models/antelopev2' or './insightface/models/antelope' from the 'ComfyUI/models' directory, and inside './models/antelopev2' or './models/antelope' from the 'insightface' python package directory.
Also, I tried to change the root folder for the AnalysisFace Class from './insightface' to 'C:\ComfyUI.venv\Lib\site-packages\insightface' but nothing change.
Could you help me, please ?
ComfyUI Error Report
Error Details
Stack Trace
The text was updated successfully, but these errors were encountered: