游雁
2023-03-17 50571828c62e4fb4227eaead4504299155019149
funasr/runtime/python/utils/test_rtf.sh
@@ -10,7 +10,7 @@
#:<<!
model_name="damo/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-pytorch"
backend="onnx" # "torch"
quantize='True' # 'False'
quantize='true' # 'False'
tag=${model_name}/${backend}_${quantize}
!
@@ -21,11 +21,7 @@
if [ $stage == 0 ];then
  if [ $quantize == 'True' ];then
    python -m funasr.export.export_model --model-name ${model_name} --export-dir ${export_root} --type ${backend} --quantize --audio_in ${scp}
  else
    python -m funasr.export.export_model --model-name ${model_name} --export-dir ${export_root} --type ${backend}
  fi
fi