Skip to content

Open-source speech recognition toolkit for training, inference, streaming ASR, VAD, punctuation, speaker diarization pipelines, and OpenAI-compatible/MCP serving.

fix modelscope_infer split scp bug

lzr265946ea48f072ce7c
diff --git a/egs_modelscope/common/modelscope_utils/modelscope_infer.sh b/egs_modelscope/common/modelscope_utils/modelscope_infer.sh
index a0c606f7f..b9b3b6f8a 100755
--- a/egs_modelscope/common/modelscope_utils/modelscope_infer.sh
+++ b/egs_modelscope/common/modelscope_utils/modelscope_infer.sh
@@ -54,6 +54,7 @@ for dset in ${test_sets}; do
sed -i "s#lm_weight: 0.[0-9]*#lm_weight: `echo $lm_weight`#g" ${modelscope_dir}/decoding.yaml
fi
+ split_scps=
for n in $(seq "${inference_nj}"); do
split_scps+=" ${_logdir}/keys.${n}.scp"
done