mirror of
https://github.com/RapidAI/RapidOCR.git
synced 2026-11-11 21:40:52 +08:00
Update README.md
This commit is contained in:
1 file changed
+3
@@ -110,6 +110,9 @@
|
||||
2. 推理代码中,加载onnx模型部分,用以下对应语言代码替换即可,详细参见:[官方教程](https://onnxruntime.ai/docs/execution-providers/CUDA-ExecutionProvider.html)
|
||||
- python版本
|
||||
```python
|
||||
# 根据机器配置,安装对应版本的onnxruntime-gpu
|
||||
# pip install onnxruntime-gpu==xxxx
|
||||
|
||||
import onnxruntime as ort
|
||||
|
||||
model_path = '<path to model>'
|
||||
|
||||
Reference in new issue
Block a user