使用onnxruntime-gpu部署和测试onnx模型(Python环境搭建)
ONNX模型部署环境创建
1. onnxruntime 安装
onnx 模型在 CPU 上进行推理,在conda环境中直接使用pip安装即可
pip install onnxruntime
2. onnxruntime-gpu 安装
想要 onnx 模型在 GPU 上加速推理,需要安装 onnxruntime-
作者:普通网友
onnx 模型在 CPU 上进行推理,在conda环境中直接使用pip安装即可
pip install onnxruntime
想要 onnx 模型在 GPU 上加速推理,需要安装 onnxruntime-
作者:普通网友