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
add scripts for simu data
志浩de034ca5d232
diff --git a/egs/mars/sd/scripts/dump_rttm_to_labels.py b/egs/mars/sd/scripts/dump_rttm_to_labels.pyindex 6b98d17bf..d3a58a2e4 100644--- a/egs/mars/sd/scripts/dump_rttm_to_labels.py+++ b/egs/mars/sd/scripts/dump_rttm_to_labels.py@@ -75,7 +75,7 @@ def calc_labels(spk_turns, spk_list, length, n_spk, remove_sil=False, max_overlasr=None, frame_shift=0.01):frame_shift = int(frame_shift * sr)num_frame = int((float(length) + (float(frame_shift) / 2)) / frame_shift)- multi_label = np.zeros([n_spk, num_frame], dtype=np.int32)+ multi_label = np.zeros([n_spk, num_frame], dtype=np.float32)for _, st, dur, spk in spk_turns:idx = spk_list.index(spk)