Skip to content

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

fix vad_scorer args

lyblsgoc4142f8a111d
diff --git a/funasr/runtime/onnxruntime/src/FsmnVad.cc b/funasr/runtime/onnxruntime/src/FsmnVad.cc
index 0a8f1fbfd..f75ead7b5 100644
--- a/funasr/runtime/onnxruntime/src/FsmnVad.cc
+++ b/funasr/runtime/onnxruntime/src/FsmnVad.cc
@@ -246,7 +246,7 @@ FsmnVad::infer(const std::vector<float> &waves) {
E2EVadModel vad_scorer = E2EVadModel();
std::vector<std::vector<int>> vad_segments;
- vad_segments = vad_scorer(vad_probs, waves, true, vad_silence_duration_, vad_max_len_,
+ vad_segments = vad_scorer(vad_probs, waves, true, false, vad_silence_duration_, vad_max_len_,
vad_speech_noise_thres_, vad_sample_rate_);
return vad_segments;