modify read.me

This commit is contained in:
lyblsgo 2023-03-21 16:57:40 +08:00
parent c8f3af8855
commit 35f62d5e41
3 changed files with 5 additions and 5 deletions

View File

@ -44,8 +44,8 @@ source ~/.bashrc
#### Step 4. Start grpc paraformer server
```
Usage: ./cmake/build/paraformer_server port thread_num /path/to/model_file
./cmake/build/paraformer_server 10108 4 /data/asrmodel/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-pytorch
Usage: ./cmake/build/paraformer_server port thread_num /path/to/model_file quantize(true or false)
./cmake/build/paraformer_server 10108 4 /data/asrmodel/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-pytorch false
```

View File

@ -16,9 +16,9 @@ See the bottom of this page: Building Guidance
### 运行程序
tester /path/to/models/dir /path/to/wave/file
tester /path/to/models/dir /path/to/wave/file quantize(true or false)
例如: tester /data/models /data/test.wav
例如: tester /data/models /data/test.wav false
/data/models 需要包括如下两个文件: model.onnx 和vocab.txt

View File

@ -17,7 +17,7 @@ int main(int argc, char *argv[])
if (argc < 3)
{
printf("Usage: %s /path/to/model_dir /path/to/wav/file quantize(true or false)", argv[0]);
printf("Usage: %s /path/to/model_dir /path/to/wav/file quantize(true or false) \n", argv[0]);
exit(-1);
}
struct timeval start, end;