Explorar el Código

rtf benchmark

游雁 hace 3 años
padre
commit
602fe75a1f
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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=""