소스 검색

rtf benchmark

游雁 3 년 전
부모
커밋
602fe75a1f
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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=""