Open-source speech recognition toolkit for training, inference, streaming ASR, VAD, punctuation, speaker diarization pipelines, and OpenAI-compatible/MCP serving.
Python asraudiochineseemotion-recognitionfunasrmcp-servermultilingual-asropenai-compatible-apiparaformerpunctuationpytorchreal-time-asrspeaker-diarizationspeech-recognitionspeech-to-textstreaming-asrtranscriptionvllmvoice-activity-detectionwhisper-alternative
update
speech_asrf691014c8a97
diff --git a/funasr/models/frontend/wav_frontend.py b/funasr/models/frontend/wav_frontend.pyindex 8e17102ca..ca2217596 100644--- a/funasr/models/frontend/wav_frontend.py+++ b/funasr/models/frontend/wav_frontend.py@@ -493,10 +493,10 @@ class WavFrontendMel23(AbsFrontend):for i in range(batch_size):waveform_length = input_lengths[i]waveform = input[i][:waveform_length]- waveform = waveform.unsqueeze(0).numpy()+ waveform = waveform.numpy()mat = eend_ola_feature.stft(waveform, self.frame_length, self.frame_shift)mat = eend_ola_feature.transform(mat)- mat = mat.splice(mat, context_size=self.lfr_m)+ mat = eend_ola_feature.splice(mat, context_size=self.lfr_m)mat = mat[::self.lfr_n]mat = torch.from_numpy(mat)feat_length = mat.size(0)