From b5f031b8695f54eb33235ce28282d353da035f2b Mon Sep 17 00:00:00 2001 From: zhifu gao Date: Tue, 27 Jun 2023 19:35:11 +0800 Subject: [PATCH 1/3] Update readme.md --- funasr/runtime/websocket/readme.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/funasr/runtime/websocket/readme.md b/funasr/runtime/websocket/readme.md index 93923bb80..9d0d23c1c 100644 --- a/funasr/runtime/websocket/readme.md +++ b/funasr/runtime/websocket/readme.md @@ -36,10 +36,8 @@ sudo apt-get install libopenblas-dev #ubuntu required openssl lib ```shell -#install openssl lib for ubuntu -apt-get install libssl-dev -#install openssl lib for centos -yum install openssl-devel +apt-get install libssl-dev #ubuntu +# yum install openssl-devel #centos git clone https://github.com/alibaba-damo-academy/FunASR.git && cd funasr/runtime/websocket From 5e9ae0f1f913a36cab03eabb776b50557d81f50f Mon Sep 17 00:00:00 2001 From: zhifu gao Date: Tue, 27 Jun 2023 19:35:53 +0800 Subject: [PATCH 2/3] Update readme.md --- funasr/runtime/websocket/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/funasr/runtime/websocket/readme.md b/funasr/runtime/websocket/readme.md index 9d0d23c1c..f93847549 100644 --- a/funasr/runtime/websocket/readme.md +++ b/funasr/runtime/websocket/readme.md @@ -40,7 +40,7 @@ apt-get install libssl-dev #ubuntu # yum install openssl-devel #centos -git clone https://github.com/alibaba-damo-academy/FunASR.git && cd funasr/runtime/websocket +git clone https://github.com/alibaba-damo-academy/FunASR.git && cd FunASR/funasr/runtime/websocket mkdir build && cd build cmake -DCMAKE_BUILD_TYPE=release .. -DONNXRUNTIME_DIR=/path/to/onnxruntime-linux-x64-1.14.0 make From 153a3f02cf15ed9a7bde33f40aa6854e804da0f8 Mon Sep 17 00:00:00 2001 From: zhifu gao Date: Tue, 27 Jun 2023 19:46:10 +0800 Subject: [PATCH 3/3] Update readme.md --- funasr/runtime/websocket/readme.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/funasr/runtime/websocket/readme.md b/funasr/runtime/websocket/readme.md index f93847549..98cf64f56 100644 --- a/funasr/runtime/websocket/readme.md +++ b/funasr/runtime/websocket/readme.md @@ -5,15 +5,15 @@ ```shell # pip3 install torch torchaudio -pip install -U modelscope funasr +pip3 install -U modelscope funasr # For the users in China, you could install with the command: -# pip install -U modelscope funasr -f https://modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html -i https://mirror.sjtu.edu.cn/pypi/web/simple +# pip3 install -U modelscope funasr -f https://modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html -i https://mirror.sjtu.edu.cn/pypi/web/simple ``` ### Export [onnx model](https://github.com/alibaba-damo-academy/FunASR/tree/main/funasr/export) ```shell -python -m funasr.export.export_model --model-name damo/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-pytorch --export-dir ./export --type onnx --quantize True +python3 -m funasr.export.export_model --model-name damo/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-pytorch --export-dir ./export --type onnx --quantize True ``` ## Building for Linux/Unix