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
ModelZoo
wenet_onnxruntime
Commits
b82929cc
Commit
b82929cc
authored
Oct 24, 2023
by
yangql
Browse files
Update README.md
parent
c27e7418
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
README.md
README.md
+3
-2
No files found.
README.md
View file @
b82929cc
...
...
@@ -41,6 +41,7 @@ docker run --shm-size 16g --network=host --name=wenet_ort --privileged --device=
#### 构建工程
```
cd /home/wenet_onnxruntime
export LD_LIBRARY_PATH=$PWD/openfst-1.7.6/src/lib:$LD_LIBRARY_PATH
mkdir build && cd build
cmake ..
...
...
@@ -48,7 +49,7 @@ make install
```
#### 设置环境变量
```
cd
<path-to-
wenet_onnxruntime
>
cd
/home/
wenet_onnxruntime
export GLOG_logtostderr=1
export GLOG_v=2
wav_path=./Resource/BAC009S0764W0344.wav
...
...
@@ -58,7 +59,7 @@ units=./Resource/units.txt
#### 运行示例
```
# 进入wenet onnxruntime工程根目录
cd
<path_to_
wenet_onnxruntime
>
cd
/home/
wenet_onnxruntime
# 执行示例程序
./build/Src/bin/decoder_main --onnx_dir $onnx_dir --wav_path $wav_path --unit_path $units 2>&1 | tee log.txt
...
...
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