Closed dwanfun closed 4 months ago
谢谢关注该工作,有可能你的onnxruntime版本不太对,你可以先试着跑通OpenSeeFace,该repo下也有环境安装指导,我这边采用的onnxruntime版本是1.16.3,希望对你有帮助~
onnx模型加载失败,onnx太老的原因?可否提供新版onnx模型
2024-05-23 17:55:51.296187279 [E:onnxruntime:, inference_session.cc:2045 operator()] Exception during initialization: /onnxruntime_src/onnxruntime/contrib_ops/cuda/fused_conv.cc:19 onnxruntime::contrib::cuda::FusedConv::FusedConv(const onnxruntime::OpKernelInfo&) [with T = float] [ONNXRuntimeError] : 2 : INVALID_ARGUMENT : unsupported conv activation mode "LeakyRelu"
I had similar problem in anaconda environment. The resolution for me was uninstall onnxruntime in terminal, and install it via anaconda navigator.
onnx模型加载失败,onnx太老的原因?可否提供新版onnx模型
2024-05-23 17:55:51.296187279 [E:onnxruntime:, inference_session.cc:2045 operator()] Exception during initialization: /onnxruntime_src/onnxruntime/contrib_ops/cuda/fused_conv.cc:19 onnxruntime::contrib::cuda::FusedConv::FusedConv(const onnxruntime::OpKernelInfo&) [with T = float] [ONNXRuntimeError] : 2 : INVALID_ARGUMENT : unsupported conv activation mode "LeakyRelu"