Skip to content

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

update

嘉渊81fe1e0a0984
diff --git a/egs/callhome/eend_ola/local/infer.py b/egs/callhome/eend_ola/local/infer.py
index 78d160d3a..132246875 100644
--- a/egs/callhome/eend_ola/local/infer.py
+++ b/egs/callhome/eend_ola/local/infer.py
@@ -63,6 +63,12 @@ if __name__ == '__main__':
default=10,
help="setting subsampling",
)
+ parser.add_argument(
+ "--shuffle",
+ type=bool,
+ default=True,
+ help="shuffle speech in time",
+ )
parser.add_argument(
"--attractor_threshold",
type=float,
diff --git a/egs/callhome/eend_ola/run_test.sh b/egs/callhome/eend_ola/run_test.sh
index d00444665..c198e7375 100644
--- a/egs/callhome/eend_ola/run_test.sh
+++ b/egs/callhome/eend_ola/run_test.sh
@@ -253,5 +253,6 @@ if [ ${stage} -le 5 ] && [ ${stop_stage} -ge 5 ]; then
--config_file ${exp_dir}/exp/${callhome_model_dir}/config.yaml \
--model_file ${exp_dir}/exp/${callhome_model_dir}/$callhome_ave_id.pb \
--output_rttm_file ${exp_dir}/exp/${callhome_model_dir}/inference/rttm \
- --wav_scp_file ${callhome_feats_dir_chunk2000}/${callhome_valid_dataset}/${callhome2_wav_scp_file} 1> ${exp_dir}/exp/${callhome_model_dir}/inference/log/infer.log 2>&1
+ --wav_scp_file ${callhome_feats_dir_chunk2000}/${callhome_valid_dataset}/${callhome2_wav_scp_file} \
+ 1> ${exp_dir}/exp/${callhome_model_dir}/inference/log/infer.log 2>&1
fi
\ No newline at end of file