From 55827a3579c636faadf1ebdb770dca20c4784ecb Mon Sep 17 00:00:00 2001 From: lyblsgo <wucong.lyb@alibaba-inc.com> Date: 星期五, 13 十月 2023 15:27:40 +0800 Subject: [PATCH] update onnx rtf for paraformer-en --- funasr/runtime/python/libtorch/README.md | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/funasr/runtime/python/libtorch/README.md b/funasr/runtime/python/libtorch/README.md index fd64cc6..4174656 100644 --- a/funasr/runtime/python/libtorch/README.md +++ b/funasr/runtime/python/libtorch/README.md @@ -4,9 +4,12 @@ ### Install [modelscope and funasr](https://github.com/alibaba-damo-academy/FunASR#installation) ```shell -pip3 install torch torchaudio -pip install -U modelscope -pip install -U funasr +# 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 onnx onnxruntime # Optional, for onnx quantization ``` ### Export [onnx model](https://github.com/alibaba-damo-academy/FunASR/tree/main/funasr/export) -- Gitblit v1.9.1