Explorar el Código

lm ppl recipe

游雁 hace 2 años
padre
commit
2144444b53
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      egs/aishell2/transformerLM/run.sh

+ 1 - 1
egs/aishell2/transformerLM/run.sh

@@ -232,7 +232,7 @@ gpu_num=1
 if [ ${stage} -le 3 ] && [ ${stop_stage} -ge 3 ]; then
 if [ ${stage} -le 3 ] && [ ${stop_stage} -ge 3 ]; then
     echo "Stage 3: Calc perplexity: ${lm_test_text}"
     echo "Stage 3: Calc perplexity: ${lm_test_text}"
     
     
-    python ../../../funasr/bin/lm_inference.py \
+    python ../../../funasr/bin/lm_inference_launch.py \
         --output_dir "${lm_exp}/perplexity_test" \
         --output_dir "${lm_exp}/perplexity_test" \
         --ngpu "${gpu_num}" \
         --ngpu "${gpu_num}" \
         --batch_size 1 \
         --batch_size 1 \