From 1368a9bca48473d793f0c1d52df0a4739c747d16 Mon Sep 17 00:00:00 2001 From: inisis <desmond.yao@buaa.edu.cn> Date: 星期四, 19 十二月 2024 13:55:17 +0800 Subject: [PATCH] update README (#2316) --- docs/tutorial/README_zh.md | 6 ++++++ README_zh.md | 6 ------ docs/tutorial/README.md | 6 ++++++ 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/README_zh.md b/README_zh.md index 272ab13..b90f0e4 100644 --- a/README_zh.md +++ b/README_zh.md @@ -312,12 +312,6 @@ 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 8439fd5..74febcd 100644 --- a/docs/tutorial/README.md +++ b/docs/tutorial/README.md @@ -411,6 +411,12 @@ 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 3242275..5bf15f0 100644 --- a/docs/tutorial/README_zh.md +++ b/docs/tutorial/README_zh.md @@ -421,6 +421,12 @@ res = model.export(quantize=False) ``` +### 浼樺寲onnx +```shell +# pip3 install -U onnxslim +onnxslim model.onnx model.onnx +``` + ### 娴嬭瘯ONNX ```python # pip3 install -U funasr-onnx -- Gitblit v1.9.1