From 63c40fae93182cadaab5b7d9d99f30ff30364daf Mon Sep 17 00:00:00 2001
From: 游雁 <zhifu.gzf@alibaba-inc.com>
Date: 星期四, 16 二月 2023 11:36:15 +0800
Subject: [PATCH] readme
---
funasr/runtime/python/onnxruntime/paraformer/rapid_paraformer/README.md | 11 ++++++-----
funasr/export/README.md | 7 +++----
2 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/funasr/export/README.md b/funasr/export/README.md
index 87ec240..513bbb2 100644
--- a/funasr/export/README.md
+++ b/funasr/export/README.md
@@ -10,15 +10,14 @@
The installation is the same as [funasr](../../README.md)
## Export model
- `Tips`: torch1.11.0 is required.
+ `Tips`: torch 1.11.0 is required.
```shell
- python -m funasr.export.export_model [model_name] [export_dir] [true/flase]
+ python -m funasr.export.export_model [model_name] [export_dir] [onnx]
```
`model_name`: the model is to export.
-
`export_dir`: the dir where the onnx is export.
- `true`: export onnx format model, `false`: export torchscripts format model.
+ `onnx`: `true`, export onnx format model; `false`, export torchscripts format model.
## For example
### Export onnx format model
diff --git a/funasr/runtime/python/onnxruntime/paraformer/rapid_paraformer/README.md b/funasr/runtime/python/onnxruntime/paraformer/rapid_paraformer/README.md
index 0fe9a1c..9bb944e 100644
--- a/funasr/runtime/python/onnxruntime/paraformer/rapid_paraformer/README.md
+++ b/funasr/runtime/python/onnxruntime/paraformer/rapid_paraformer/README.md
@@ -21,7 +21,7 @@
```
3. Export the model.
- `Tips`: torch1.11.0 is required.
+ `Tips`: torch 1.11.0 is required.
```shell
python -m funasr.export.export_model [model_name] [export_dir] [true]
@@ -62,12 +62,13 @@
## Speed
Environment锛欼ntel(R) Xeon(R) Platinum 8163 CPU @ 2.50GHz
+
Test [wav](https://isv-data.oss-cn-hangzhou.aliyuncs.com/ics/MaaS/ASR/test_audio/asr_example_zh.wav)
-| Backend | RTF |
-|:-------:|:------:|
-| Pytorch | 0.110 |
-| Onnx | 0.038 |
+| Backend | RTF (100 times avg.) |
+|:-------:|:--------------------:|
+| Pytorch | 0.110 |
+| Onnx | 0.038 |
## Acknowledge
--
Gitblit v1.9.1