From 7f944c0199b7578f0a7b88974885a696e064b798 Mon Sep 17 00:00:00 2001 From: 游雁 <zhifu.gzf@alibaba-inc.com> Date: 星期四, 20 四月 2023 18:58:50 +0800 Subject: [PATCH] docs --- funasr/runtime/python/libtorch/README.md | 4 ++-- funasr/runtime/python/onnxruntime/README.md | 4 ++-- funasr/export/README.md | 4 ++-- funasr/runtime/python/grpc/Readme.md | 5 +++-- funasr/runtime/python/websocket/README.md | 5 +++-- 5 files changed, 12 insertions(+), 10 deletions(-) diff --git a/funasr/export/README.md b/funasr/export/README.md index 6d7c731..d403121 100644 --- a/funasr/export/README.md +++ b/funasr/export/README.md @@ -5,7 +5,7 @@ The installation is the same as [funasr](https://github.com/alibaba-damo-academy/FunASR/blob/main/README.md#installation) ```shell -pip3 install torch torchaudio +# pip3 install torch torchaudio pip install -U modelscope funasr # For the users in China, you could install with the command: # pip install -U modelscope funasr -i https://mirror.sjtu.edu.cn/pypi/web/simple @@ -13,7 +13,7 @@ ### Install the quantization tools ```shell pip install torch-quant # Optional, for torchscript quantization -pip install onnxruntime # Optional, for onnx quantization +pip install onnx onnxruntime # Optional, for onnx quantization ``` ## Export model diff --git a/funasr/runtime/python/grpc/Readme.md b/funasr/runtime/python/grpc/Readme.md index 822cb52..895013a 100644 --- a/funasr/runtime/python/grpc/Readme.md +++ b/funasr/runtime/python/grpc/Readme.md @@ -9,9 +9,10 @@ Install the modelscope and funasr ```shell -pip install "modelscope[audio_asr]" -f https://modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html +pip install -U modelscope funasr +# For the users in China, you could install with the command: +# pip install -U modelscope funasr -i https://mirror.sjtu.edu.cn/pypi/web/simple git clone https://github.com/alibaba/FunASR.git && cd FunASR -pip install --editable ./ ``` Install the requirements diff --git a/funasr/runtime/python/libtorch/README.md b/funasr/runtime/python/libtorch/README.md index 4d06a8d..4174656 100644 --- a/funasr/runtime/python/libtorch/README.md +++ b/funasr/runtime/python/libtorch/README.md @@ -4,12 +4,12 @@ ### Install [modelscope and funasr](https://github.com/alibaba-damo-academy/FunASR#installation) ```shell -pip3 install torch torchaudio +# pip3 install torch torchaudio pip install -U modelscope funasr # For the users in China, you could install with the command: # pip install -U modelscope funasr -i https://mirror.sjtu.edu.cn/pypi/web/simple pip install torch-quant # Optional, for torchscript quantization -pip install onnxruntime # Optional, for onnx quantization +pip install onnx onnxruntime # Optional, for onnx quantization ``` ### Export [onnx model](https://github.com/alibaba-damo-academy/FunASR/tree/main/funasr/export) diff --git a/funasr/runtime/python/onnxruntime/README.md b/funasr/runtime/python/onnxruntime/README.md index 61cb1a0..1f7fcaa 100644 --- a/funasr/runtime/python/onnxruntime/README.md +++ b/funasr/runtime/python/onnxruntime/README.md @@ -4,12 +4,12 @@ ### Install [modelscope and funasr](https://github.com/alibaba-damo-academy/FunASR#installation) ```shell -pip3 install torch torchaudio +#pip3 install torch torchaudio pip install -U modelscope funasr # For the users in China, you could install with the command: # pip install -U modelscope funasr -i https://mirror.sjtu.edu.cn/pypi/web/simple pip install torch-quant # Optional, for torchscript quantization -pip install onnxruntime # Optional, for onnx quantization +pip install onnx onnxruntime # Optional, for onnx quantization ``` ### Export [onnx model](https://github.com/alibaba-damo-academy/FunASR/tree/main/funasr/export) diff --git a/funasr/runtime/python/websocket/README.md b/funasr/runtime/python/websocket/README.md index 353cfa6..73f8aeb 100644 --- a/funasr/runtime/python/websocket/README.md +++ b/funasr/runtime/python/websocket/README.md @@ -8,9 +8,10 @@ Install the modelscope and funasr ```shell -pip install "modelscope[audio_asr]" -f https://modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html +pip install -U modelscope funasr +# For the users in China, you could install with the command: +# pip install -U modelscope funasr -i https://mirror.sjtu.edu.cn/pypi/web/simple git clone https://github.com/alibaba/FunASR.git && cd FunASR -pip install --editable ./ ``` Install the requirements for server -- Gitblit v1.9.1