0
点赞
收藏
分享

微信扫一扫

onnxruntime cuda版本使用时出现的错误汇总

寒羽鹿 2022-01-10 阅读 116

1 用qt c++ 推理 onnxruntime cuda时出现诸如

E:onnxruntime:barcode, provider_bridge_ort.cc:995 onnxruntime::ProviderLibrary::Get] LoadLibrary failed with error 126 "找不到指定的模块。" when trying to load onnxruntime_providers_cuda.dll c等错错误

解决方法:

下载带onnxruntime_providers_cuda.dll 等动态库的onnxruntime库,,基本是1.8.1以上,然后把dll放在程序路径上,如果还出现这种错误,大概率是cuda,cudnn版本问题或者cuda路径没找到,想找到onnxruntime需要的cuda,cudnn版本进行重新安装,然后应该可以解决CUDA - onnxruntime

举报

相关推荐

0 条评论