| | |
| | | |
| | | ### Steps: |
| | | 1. Export the model. |
| | | |
| | | `Tips`: torch 1.11.0 is required. |
| | | - Command: (`Tips`: torch 1.11.0 is required.) |
| | | |
| | | ```shell |
| | | python -m funasr.export.export_model [model_name] [export_dir] [true] |
| | |
| | | `export_dir`: the dir where the onnx is export. |
| | | |
| | | More details ref to ([export docs](https://github.com/alibaba-damo-academy/FunASR/tree/main/funasr/export)) |
| | | |
| | | |
| | | - `e.g.`, Export model from modelscope |
| | | ```shell |
| | |
| | | ``` |
| | | |
| | | |
| | | 2. Install the `rapid_paraformer` |
| | | 2. Install the `rapid_paraformer`. |
| | | - Build the rapid_paraformer `whl` |
| | | ```shell |
| | | git clone https://github.com/alibaba/FunASR.git && cd FunASR |