diff --git a/demos/custom_streaming_asr/README.md b/demos/custom_streaming_asr/README.md index 5d94856f..40f696dd 100644 --- a/demos/custom_streaming_asr/README.md +++ b/demos/custom_streaming_asr/README.md @@ -20,9 +20,9 @@ this demo is customized for expense account, which need to recognize rare addres ### 1. Installation install paddle:2.2.2 docker. ``` -sudo nvidia-docker pull registry.baidubce.com/paddlepaddle/paddle:2.2.2 +sudo docker pull registry.baidubce.com/paddlepaddle/paddle:2.2.2 -sudo nvidia-docker run --privileged --net=host --ipc=host -it --rm -v $PWD:/paddle --name=paddle_demo_docker registry.baidubce.com/paddlepaddle/paddle:2.2.2 /bin/bash +sudo docker run --privileged --net=host --ipc=host -it --rm -v $PWD:/paddle --name=paddle_demo_docker registry.baidubce.com/paddlepaddle/paddle:2.2.2 /bin/bash ``` ### 2. demo @@ -30,16 +30,16 @@ sudo nvidia-docker run --privileged --net=host --ipc=host -it --rm -v $PWD:/pad ``` bash websocket_server.sh ``` -this script run in two steps: -1. download the resources.tar.gz, those direcotries will be found in resource directory. +this script run in two steps: +1. download the resources.tar.gz, those direcotries will be found in resource directory. model: acustic model graph: the decoder graph (TLG.fst) lib: some libs bin: binary data: audio and wav.scp -2. websocket_server_main launch the service. -some params: +2. websocket_server_main launch the service. +some params: port: the service port graph_path: the decoder graph path model_path: acustic model path diff --git a/demos/custom_streaming_asr/README_cn.md b/demos/custom_streaming_asr/README_cn.md index 209b882e..5a0d1c30 100644 --- a/demos/custom_streaming_asr/README_cn.md +++ b/demos/custom_streaming_asr/README_cn.md @@ -30,7 +30,7 @@ sudo nvidia-docker run --privileged --net=host --ipc=host -it --rm -v $PWD:/pad bash websocket_server.sh ``` 上面脚本完成了如下两个功能: -1. 完成resource.tar.gz下载,解压后,会在resource中发现如下目录: +1. 完成resource.tar.gz下载,解压后,会在resource中发现如下目录: model: 声学模型 graph: 解码构图 lib: 相关库