Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenSeeFace onnx模型加载失败 #130

Closed
dwanfun opened this issue May 23, 2024 · 2 comments
Closed

OpenSeeFace onnx模型加载失败 #130

dwanfun opened this issue May 23, 2024 · 2 comments

Comments

@dwanfun
Copy link

dwanfun commented May 23, 2024

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"

@liangyang-mt
Copy link
Collaborator

谢谢关注该工作,有可能你的onnxruntime版本不太对,你可以先试着跑通OpenSeeFace,该repo下也有环境安装指导,我这边采用的onnxruntime版本是1.16.3,希望对你有帮助~

@A-2-H
Copy link

A-2-H commented May 24, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants