Skip to content

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

wenetspeech

游雁55e7a2d880b3
diff --git a/funasr/bin/compute_audio_cmvn.py b/funasr/bin/compute_audio_cmvn.py
index 20c8e0ded..e8ced5141 100644
--- a/funasr/bin/compute_audio_cmvn.py
+++ b/funasr/bin/compute_audio_cmvn.py
@@ -73,9 +73,9 @@ def main(**kwargs):
iter_stop = int(kwargs.get("scale", -1.0) * len(dataloader_train))
log_step = iter_stop // 100
if batch_idx % log_step == 0:
- print(f"prcessed: {batch_idx}/{iter_stop}")
+ logging.info(f"prcessed: {batch_idx}/{iter_stop}")
if batch_idx >= iter_stop and iter_stop > 0.0:
- print(f"prcessed: {iter_stop}/{iter_stop}")
+ logging.info(f"prcessed: {iter_stop}/{iter_stop}")
break
fbank = batch["speech"].numpy()[0, :, :]