-
Notifications
You must be signed in to change notification settings - Fork 24
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
ONNXRuntime environment created failed #17
Comments
I think it might be result from the cudnn missing or something else? |
You should put several dll files named onnxruntime.dll onnxruntime_providers_shared.dll onnxruntime_providers_cuda.dll in the same directory as the generated exe executable file. |
使用end-to-end模型会出现这样的问题吗(尝试一下),从图中看使用的是解耦后的两个模型,我可以看看你的main.cpp部分的配置信息尝试进行复现报错吗? |
我发现github这边不支持发onnx文件,您方便的话可以给我邮箱我把我转的middletoend的onnx模型发您。 |
使用的所有模型文件,在该网盘链接下可获取:链接:https://pan.baidu.com/s/1LSMn7YiJlJVvN0o1H7BDew?pwd=pgnf |
是的CPU可行GPU不太行,我看报错应该是InitOrtEnv的AppendExecutionProvider_CUDA失败直接throw了,接着InputNodeShapes这些都未初始化然后崩了。猜测可能和cuda配置有关 |
有一个猜想但不知道对不对,使用的onnxruntime-gpu是要和本机的CUDA相对应的,你可以看看你本机的CUDA版本,再获取对应支持的onnxruntime-gpu版本进行尝试 |
老哥我搞定了,要加cudnn然后还有个很莫名的操作。多谢分享QAQ |
我本机有和你对齐是CUDA 11.7的版本,onnxruntime-gpu是1.15.0 |
解决了就好,预祝你的深度学习模型部署之路一路顺风😊😊😊 |
非常感谢您的帮助! |
您好我还有一个问题想叨扰一下,我用https://github.com/fabio-sim/LightGlue-ONNX这个脚本转的end2end onnx文件总是会报输入图像的尺寸失败问题。想问问您这边是用的哪套参数进行的转换 非常感谢 |
我并没有去尝试转化onnx模型,因为作者已经在release里面提供了不同的动态输入模型以及各种规格的静态尺寸输入模型,我使用的模型都是该仓库作者直接发布出来的 |
了解,我发现我漏掉了dynamic 这个选项导致的这个问题。再次感谢您的回复,话说您有考虑部署一下superglue么。我在使用中发现superglue有时候效果要比lightglue更鲁棒 |
由于正在推进其他项目,所以现阶段暂时没有部署superglue的计划,选用lightglue就是因为相比起superglue,其有鲁棒性和速度性能上有更好的平衡 |
|
it's located here: C:\Windows\System32\onnxruntime.dll you're running into these rules: https://docs.microsoft.com/en-us/windows/win32/dlls/dynamic-link-library-search-order https://github.com/mspaintmsi/superUser copy D:\Tools\onnxruntime-win-x64-1.16.1\lib\onnxruntime.dll C:\Windows\System32\onnxruntime.dll |
你好 我遇到了这个问题 |
|
Thanks for your works sharing!

I am a newcomers of deep learning deployment and i come across this problem shown below:
The text was updated successfully, but these errors were encountered: