Closed max140x closed 4 months ago
I am also getting this issue as of today:
[ReActor] 16:27:07 - STATUS - Working: source face index [0], target face index [0] [ReActor] 16:27:07 - STATUS - Analyzing Source Image... !!! Exception during processing !!! Traceback (most recent call last): File "D:\sd\ComfyUI\ComfyUI\execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\sd\ComfyUI\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 "D:\sd\ComfyUI\ComfyUI\execution.py", line 74, in map_node_over_list results.append(getattr(obj, func)(slice_dict(input_data_all, i))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\sd\ComfyUI\ComfyUI\custom_nodes\comfyui-reactor-node\nodes.py", line 244, in execute script.process( File "D:\sd\ComfyUI\ComfyUI\custom_nodes\comfyui-reactor-node\scripts\reactor_faceswap.py", line 86, in process result = swap_face( ^^^^^^^^^^ File "D:\sd\ComfyUI\ComfyUI\custom_nodes\comfyui-reactor-node\scripts\reactor_swapper.py", line 199, in swap_face source_faces = analyze_faces(source_img) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\sd\ComfyUI\ComfyUI\custom_nodes\comfyui-reactor-node\scripts\reactor_swapper.py", line 118, in analyze_faces face_analyser = copy.deepcopy(getAnalysisModel()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "copy.py", line 172, in deepcopy File "copy.py", line 271, in _reconstruct File "copy.py", line 146, in deepcopy File "copy.py", line 231, in _deepcopy_dict File "copy.py", line 146, in deepcopy File "copy.py", line 231, in _deepcopy_dict File "copy.py", line 172, in deepcopy File "copy.py", line 271, in _reconstruct File "copy.py", line 146, in deepcopy File "copy.py", line 231, in _deepcopy_dict File "copy.py", line 172, in deepcopy File "copy.py", line 273, in _reconstruct File "D:\sd\ComfyUI\python_embeded\Lib\site-packages\insightface\model_zoo\model_zoo.py", line 33, in setstate self.init(model_path) File "D:\sd\ComfyUI\python_embeded\Lib\site-packages\insightface\model_zoo\model_zoo.py", line 25, in init super().init(model_path, kwargs) File "D:\sd\ComfyUI\python_embeded\Lib\site-packages\onnxruntime\capi\onnxruntime_inference_collection.py", line 396, in init raise e File "D:\sd\ComfyUI\python_embeded\Lib\site-packages\onnxruntime\capi\onnxruntime_inference_collection.py", line 383, in init self._create_inference_session(providers, provider_options, disabled_optimizers) File "D:\sd\ComfyUI\python_embeded\Lib\site-packages\onnxruntime\capi\onnxruntime_inference_collection.py", line 415, in _create_inference_session raise ValueError( ValueError: This ORT build has ['TensorrtExecutionProvider', 'CUDAExecutionProvider', 'CPUExecutionProvider'] enabled. Since ORT 1.9, you are required to explicitly set the providers parameter when instantiating InferenceSession. For example, onnxruntime.InferenceSession(..., providers=['TensorrtExecutionProvider', 'CUDAExecutionProvider', 'CPUExecutionProvider'], ...)
I have installed all of the dependencies as I can tell and tried the remediation steps in the related issues to no success.
First, confirm
What happened?
Steps to reproduce the problem
This happened by chance, I don't know why
Sysinfo
Windows, Microsoft Edge, Comfyui、RTX 3060 6GB,ComfyUI-Manager.
Relevant console log
Additional information
It was working well before. I don't know when this happened, especially since I had installed other Extensions such as: ComfyUI-layerdiffuse ComfyUI YoloWorld-EfficientSAM etc. ...