Ver Fonte

rtf benchmark

游雁 há 3 anos atrás
pai
commit
602fe75a1f
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      funasr/runtime/python/utils/test_rtf.sh

+ 2 - 2
funasr/runtime/python/utils/test_rtf.sh

@@ -19,14 +19,14 @@ mkdir -p ${logs_outputs_dir}
 echo ${logs_outputs_dir}
 
 
-if [ $stage == 0 ];then
+if [ ${stage} -le 0 ];then
 
     python -m funasr.export.export_model --model-name ${model_name} --export-dir ${export_root} --type ${backend} --quantize ${quantize} --audio_in ${scp}
 
 fi
 
 
-if [ $stage -ge 1 ];then
+if [ ${stage} -le 1 ];then
 
 model_dir=${export_root}/${model_name}
 split_scps=""