Skip to content

📄 Awesome OCR multiple programing languages toolkits based on ONNX Runtime, OpenVINO, MNN, PaddlePaddle, TensorRT and PyTorch.

Update README.md

SWHL0da2009d8776
diff --git a/python/onnxruntime_infer/README.md b/python/onnxruntime_infer/README.md
index 2ebc0c1..fd49a78 100644
--- a/python/onnxruntime_infer/README.md
+++ b/python/onnxruntime_infer/README.md
@@ -106,8 +106,11 @@
### onnxruntime-gpu版推理配置
-1. onnxruntime-gpu需要严格按照与cuda、cudnn版本对应来安装,具体参考[文档](https://onnxruntime.ai/docs/execution-providers/CUDA-ExecutionProvider.html#requirements),**这一步关乎后面是否可以成功调用GPU**
-2. 推理代码中,加载onnx模型部分,用以下对应语言代码替换即可,详细参见:[官方教程](https://onnxruntime.ai/docs/execution-providers/CUDA-ExecutionProvider.html)
+1. **onnxruntime-gpu**需要严格按照与cuda、cudnn版本对应来安装,具体参考[文档](https://onnxruntime.ai/docs/execution-providers/CUDA-ExecutionProvider.html#requirements),**这一步关乎后面是否可以成功调用GPU**
+ ```bash
+ $ pip install onnxruntime-gpu==1.xxx
+ ```
+3. 推理代码中,加载onnx模型部分,用以下对应语言代码替换即可,详细参见:[官方教程](https://onnxruntime.ai/docs/execution-providers/CUDA-ExecutionProvider.html)
- python版本
```python
# 根据机器配置,安装对应版本的onnxruntime-gpu
@@ -139,4 +142,3 @@
|:---:|:---:|:---:|
|CPU|46张图像|191 s|
|GPU|46张图像|52.38 s|
- ||||