yhliang
2023-04-20 5de9e75d587b752d8d1063cc7903c4571df99189
funasr/runtime/python/benchmark_onnx.md
@@ -1,20 +1,26 @@
# Benchmark
# CPU Benchmark (ONNX)
## Configuration
### Data set:
Aishell1 [test set](https://www.openslr.org/33/) , the total audio duration is 36108.919 seconds.
### Tools
- Install ModelScope and FunASR
#### Install Requirements
Install ModelScope and FunASR
    ```shell
    pip install "modelscope[audio_asr]" --upgrade -f https://modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html
pip install -U modelscope funasr
# For the users in China, you could install with the command:
#pip install -U funasr -i https://mirror.sjtu.edu.cn/pypi/web/simple
```
Install requirements
```shell
    git clone https://github.com/alibaba-damo-academy/FunASR.git && cd FunASR
    pip install --editable ./
    cd funasr/runtime/python/utils
    pip install -r requirements.txt
    ```
- recipe
#### Recipe
    set the model, data path and output_dir