modify onnx readme

This commit is contained in:
lyblsgo 2023-04-21 18:51:50 +08:00
parent 716e3fe512
commit c5739295ab
2 changed files with 3 additions and 3 deletions

View File

@ -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)
```

View File

@ -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);