lyblsgo
2023-04-21 c5739295abbd2b37476f54e578330e3105f958d7
modify onnx readme
2个文件已修改
6 ■■■■ 已修改文件
funasr/runtime/onnxruntime/readme.md 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
funasr/runtime/onnxruntime/src/funasr-onnx-offline.cpp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
funasr/runtime/onnxruntime/readme.md
@@ -59,12 +59,12 @@
## 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)
```
funasr/runtime/onnxruntime/src/funasr-onnx-offline.cpp
@@ -52,7 +52,7 @@
    }
    else
    {
        printf("no return data!");
        printf("no return data!\n");
    }
 
    printf("Audio length %lfs.\n", (double)snippet_time);