neuralchen / SimSwap

An arbitrary face-swapping framework on images and videos with one single trained model!
Other
4.55k stars 895 forks source link

执行 报错 #215

Open theoldsong opened 2 years ago

theoldsong commented 2 years ago

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'], ...) 执行报错,这是什么原因,win10系统 感谢大佬抽空解答下。

SrGrafoasspee commented 2 years ago

see https://github.com/neuralchen/SimSwap/issues/176#issuecomment-991705311

theoldsong commented 2 years ago

see #176 (comment)

thank. I followed the operation and still reported an error.