Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
RapidASR
Commits
2e9d117d
Commit
2e9d117d
authored
Feb 26, 2023
by
mayong
Browse files
Merge branch 'main' of
https://github.com/RapidAI/RapidASR
parents
4ba51522
06f1d2bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
10 deletions
+26
-10
cpp_onnx/readme.md
cpp_onnx/readme.md
+26
-10
No files found.
cpp_onnx/readme.md
View file @
2e9d117d
...
...
@@ -5,20 +5,28 @@
## 快速使用
Windows 下下载onnxruntime库,解开到某个位置,指定onnxruntime目录按以下方式:
```
### Windows
安装Vs2022 打开cpp_onnx目录下的cmake工程,直接 build即可。 本仓库已经准备好所有相关依赖库。
### Linux
See the bottom of this page: Building Guidance
cmake -DCMAKE_BUILD_TYPE=release -DONNXRUNTIME_DIR=D:\\thirdpart\\onnxruntime ..
```
`
使用 -DONNXRUNTIME_DIR 指向onnxruntime目录,该目录下有include以及lib
```
onnxruntime_xxx
├───include
└───lib
```
Windows下已经预置fftw3及openblas库。
### 运行程序
tester /path/to/models/dir /path/to/wave/file
tester /data/models /data/test.wav
/data/models 需要包括如下两个文件: model.onnx 和vocab.txt
```
```
## 支持平台
-
Windows
...
...
@@ -70,3 +78,11 @@ apt install libopenblas-dev
```
`
### the structure of onnxruntime package.
```
onnxruntime_xxx
├───include
└───lib
``
`
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment