Commit b82929cc authored by yangql's avatar yangql
Browse files

Update README.md

parent c27e7418
...@@ -41,6 +41,7 @@ docker run --shm-size 16g --network=host --name=wenet_ort --privileged --device= ...@@ -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 export LD_LIBRARY_PATH=$PWD/openfst-1.7.6/src/lib:$LD_LIBRARY_PATH
mkdir build && cd build mkdir build && cd build
cmake .. cmake ..
...@@ -48,7 +49,7 @@ make install ...@@ -48,7 +49,7 @@ make install
``` ```
#### 设置环境变量 #### 设置环境变量
``` ```
cd <path-to-wenet_onnxruntime> cd /home/wenet_onnxruntime
export GLOG_logtostderr=1 export GLOG_logtostderr=1
export GLOG_v=2 export GLOG_v=2
wav_path=./Resource/BAC009S0764W0344.wav wav_path=./Resource/BAC009S0764W0344.wav
...@@ -58,7 +59,7 @@ units=./Resource/units.txt ...@@ -58,7 +59,7 @@ units=./Resource/units.txt
#### 运行示例 #### 运行示例
``` ```
# 进入wenet onnxruntime工程根目录 # 进入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 ./build/Src/bin/decoder_main --onnx_dir $onnx_dir --wav_path $wav_path --unit_path $units 2>&1 | tee log.txt
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment