From d3e785f6ab29ab4ea815fe413cd1ff4fdbe7dbea Mon Sep 17 00:00:00 2001
From: 游雁 <zhifu.gzf@alibaba-inc.com>
Date: 星期三, 22 三月 2023 19:10:13 +0800
Subject: [PATCH] cer tool

---
 funasr/runtime/python/utils/infer.sh |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/funasr/runtime/python/utils/infer.sh b/funasr/runtime/python/utils/infer.sh
index c434f4a..c9a1b77 100644
--- a/funasr/runtime/python/utils/infer.sh
+++ b/funasr/runtime/python/utils/infer.sh
@@ -17,7 +17,8 @@
 model_name="damo/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-pytorch"
 backend="onnx" # "torch"
 quantize='true' # 'False'
-tag=${model_name}/${backend}_quantize_${quantize}
+fallback_op_num_torch=20
+tag=${model_name}/${backend}_quantize_${quantize}_${fallback_op_num_torch}
 !
 
 output_dir=${export_root}/logs/${tag}/split$nj
@@ -27,7 +28,7 @@
 
 if [ $stage -le 0 ] && [ $stop_stage -ge 0 ];then
 
-    python -m funasr.export.export_model --model-name ${model_name} --export-dir ${export_root} --type ${backend} --quantize ${quantize} --audio_in ${scp}
+    python -m funasr.export.export_model --model-name ${model_name} --export-dir ${export_root} --type ${backend} --quantize ${quantize} --audio_in ${scp} --fallback-num ${fallback_op_num_torch}
 
 fi
 

--
Gitblit v1.9.1