From 1368a9bca48473d793f0c1d52df0a4739c747d16 Mon Sep 17 00:00:00 2001 From: inisis Date: Thu, 19 Dec 2024 13:55:17 +0800 Subject: [PATCH] update README (#2316) * update README * refactor doc --- README_zh.md | 6 ------ docs/tutorial/README.md | 6 ++++++ docs/tutorial/README_zh.md | 6 ++++++ 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/README_zh.md b/README_zh.md index 272ab13d5..b90f0e4c9 100644 --- a/README_zh.md +++ b/README_zh.md @@ -312,12 +312,6 @@ model = AutoModel(model="paraformer") res = model.export(quantize=False) ``` -### 优化onnx -```shell -# pip3 install -U onnxslim -onnxslim model.onnx model.onnx -``` - ### 测试ONNX ```python # pip3 install -U funasr-onnx diff --git a/docs/tutorial/README.md b/docs/tutorial/README.md index 8439fd591..74febcddf 100644 --- a/docs/tutorial/README.md +++ b/docs/tutorial/README.md @@ -411,6 +411,12 @@ model = AutoModel(model="paraformer", device="cpu") res = model.export(quantize=False) ``` +### optimize onnx +```shell +# pip3 install -U onnxslim +onnxslim model.onnx model.onnx +``` + ### Test ONNX ```python # pip3 install -U funasr-onnx diff --git a/docs/tutorial/README_zh.md b/docs/tutorial/README_zh.md index 324227531..5bf15f0a4 100644 --- a/docs/tutorial/README_zh.md +++ b/docs/tutorial/README_zh.md @@ -421,6 +421,12 @@ model = AutoModel(model="paraformer") res = model.export(quantize=False) ``` +### 优化onnx +```shell +# pip3 install -U onnxslim +onnxslim model.onnx model.onnx +``` + ### 测试ONNX ```python # pip3 install -U funasr-onnx