Yabin Li
2023-10-10 e1f23c9245374e0075a13acc30f12a5d1440ff2a
funasr/runtime/onnxruntime/src/fsmn-vad-online.cpp
@@ -140,6 +140,9 @@
      return vad_segments;
    }
    fsmnvad_handle_->Forward(vad_feats, &vad_probs, &in_cache_, input_finished);
    if(vad_probs.size() == 0){
      return vad_segments;
    }
    vad_segments = vad_scorer(vad_probs, waves, input_finished, true, vad_silence_duration_, vad_max_len_,
                              vad_speech_noise_thres_, vad_sample_rate_);