comfyui-reactor-node icon indicating copy to clipboard operation
comfyui-reactor-node copied to clipboard

bug: Error occurred when executing ReActorFaceSwap:

Open longge0126 opened this issue 1 year ago • 3 comments

First, confirm

  • [X] I have read the instruction carefully
  • [X] I have searched the existing issues
  • [X] I have updated the extension to the latest version

What happened?

Error occurred when executing ReActorFaceSwap:

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'], ...)

Steps to reproduce the problem

just when executing reactor-fast face swap node

Sysinfo

windows11,4070tis

Relevant console log

portable comfyui

Additional information

No response

longge0126 avatar Apr 13 '24 07:04 longge0126

Error occurred when executing ReActorFaceSwap:

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'], ...)

q1446227740 avatar Apr 13 '24 12:04 q1446227740

I also encountered this problem, and there was no problem yesterday.

q1446227740 avatar Apr 13 '24 12:04 q1446227740

Try the following: https://github.com/Gourieff/comfyui-reactor-node/discussions/250#discussioncomment-9014289

Gourieff avatar Apr 14 '24 20:04 Gourieff