From a96350ff4fe0b53d8544de101817881d6ff105b2 Mon Sep 17 00:00:00 2001
From: yhliang <68215459+yhliang-aslp@users.noreply.github.com>
Date: 星期五, 21 四月 2023 11:46:34 +0800
Subject: [PATCH] Merge pull request #392 from alibaba-damo-academy/main

---
 funasr/export/README.md |   18 ++++++++++++------
 1 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/funasr/export/README.md b/funasr/export/README.md
index 8f57673..d403121 100644
--- a/funasr/export/README.md
+++ b/funasr/export/README.md
@@ -1,14 +1,20 @@
 # Export models
 
 ## Environments
-    torch >= 1.11.0
-    modelscope >= 1.2.0
-    torch-quant >= 0.4.0 (required for exporting quantized torchscript format model)
-    # pip install torch-quant -i https://pypi.org/simple
-
-## Install modelscope and funasr
+### Install modelscope and funasr
 
 The installation is the same as [funasr](https://github.com/alibaba-damo-academy/FunASR/blob/main/README.md#installation)
+```shell
+# 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
+```
+### Install the quantization tools
+```shell
+pip install torch-quant # Optional, for torchscript quantization
+pip install onnx onnxruntime # Optional, for onnx quantization
+```
 
 ## Export model
    `Tips`: torch>=1.11.0

--
Gitblit v1.9.1