赞
踩
/onnxruntime_src/onnxruntime/core/session/provider_bridge_ort.cc:1193 onnxruntime::Provider& onnxruntime::ProviderLibrary::Get() [ONNXRuntimeError] : 1 : FAIL : Failed to load library libonnxruntime_providers_cuda.so with error: libcudart.so.11.0: cannot open shared object file: No such file or directory
问题来源:使用onnxruntime推理时,总是使用cpu;使用gpu时报错
pip install onnxruntime
和 pip install onnxruntime-gpu
conda install cudatoolkit
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。