From c5739295abbd2b37476f54e578330e3105f958d7 Mon Sep 17 00:00:00 2001 From: lyblsgo Date: Fri, 21 Apr 2023 18:51:50 +0800 Subject: [PATCH] modify onnx readme --- funasr/runtime/onnxruntime/readme.md | 4 ++-- funasr/runtime/onnxruntime/src/funasr-onnx-offline.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/funasr/runtime/onnxruntime/readme.md b/funasr/runtime/onnxruntime/readme.md index 65c320f38..81030ba8a 100644 --- a/funasr/runtime/onnxruntime/readme.md +++ b/funasr/runtime/onnxruntime/readme.md @@ -59,12 +59,12 @@ Ref to win/ ## Run the demo ```shell -tester /path/models_dir /path/wave_file quantize(true or false) +funasr-onnx-offline /path/models_dir /path/wave_file quantize(true or false) use_vad(true or false) ``` The structure of /path/models_dir ``` -config.yaml, am.mvn, model.onnx(or model_quant.onnx) +config.yaml, am.mvn, model.onnx(or model_quant.onnx), (vad_model.onnx, vad.mvn if you use vad) ``` diff --git a/funasr/runtime/onnxruntime/src/funasr-onnx-offline.cpp b/funasr/runtime/onnxruntime/src/funasr-onnx-offline.cpp index fae739b2b..a2684c376 100644 --- a/funasr/runtime/onnxruntime/src/funasr-onnx-offline.cpp +++ b/funasr/runtime/onnxruntime/src/funasr-onnx-offline.cpp @@ -52,7 +52,7 @@ int main(int argc, char *argv[]) } else { - printf("no return data!"); + printf("no return data!\n"); } printf("Audio length %lfs.\n", (double)snippet_time);