游雁 2 yıl önce
ebeveyn
işleme
3dc499dbdc

+ 7 - 1
funasr/runtime/python/benchmark_libtorch.md

@@ -22,12 +22,18 @@ pip install -r requirements.txt
 
 #### Recipe
 
+##### test_rtf
 set the model, data path and output_dir
-
 ```shell
 nohup bash test_rtf.sh &> log.txt &
 ```
 
+##### test_cer
+set the model, data path and output_dir
+```shell
+nohup bash test_cer.sh &> log.txt &
+```
+
 
 ## [Paraformer-large](https://www.modelscope.cn/models/damo/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-pytorch/summary) 
 

+ 7 - 1
funasr/runtime/python/benchmark_onnx.md

@@ -22,12 +22,18 @@ pip install -r requirements.txt
 
 #### Recipe
 
-set the model, data path and output_dir
 
+##### test_rtf
+set the model, data path and output_dir
 ```shell
 nohup bash test_rtf.sh &> log.txt &
 ```
 
+##### test_cer
+set the model, data path and output_dir
+```shell
+nohup bash test_cer.sh &> log.txt &
+```
 
 ## [Paraformer-large](https://www.modelscope.cn/models/damo/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-pytorch/summary) 
 

+ 0 - 0
funasr/runtime/python/utils/infer.py → funasr/runtime/python/utils/test_cer.py


+ 1 - 1
funasr/runtime/python/utils/infer.sh → funasr/runtime/python/utils/test_cer.sh

@@ -1,6 +1,6 @@
 
 split_scps_tool=split_scp.pl
-inference_tool=infer.py
+inference_tool=test_cer.py
 proce_text_tool=proce_text.py
 compute_wer_tool=compute_wer.py