| | |
| | | - Command: (`Tips`: torch >= 1.11.0 is required.) |
| | | |
| | | ```shell |
| | | python -m funasr.export.export_model [model_name] [export_dir] [true] |
| | | python -m funasr.export.export_model [model_name] [export_dir] false |
| | | ``` |
| | | `model_name`: the model is to export. |
| | | |
| | |
| | | |
| | | Test [wav, 5.53s, 100 times avg.](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 (FP32) | |
| | | |:--------:|:----------:| |
| | | | Pytorch | 0.110 | |
| | | | Libtorch | 0.048 | |
| | | | Onnx | 0.038 | |
| | | |
| | | ## Acknowledge |