From 55e7a2d880b3322fd89bdb1a27373ffbd842f280 Mon Sep 17 00:00:00 2001
From: 游雁 <zhifu.gzf@alibaba-inc.com>
Date: 星期三, 22 五月 2024 16:33:17 +0800
Subject: [PATCH] wenetspeech

---
 funasr/bin/compute_audio_cmvn.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/funasr/bin/compute_audio_cmvn.py b/funasr/bin/compute_audio_cmvn.py
index 20c8e0d..e8ced51 100644
--- a/funasr/bin/compute_audio_cmvn.py
+++ b/funasr/bin/compute_audio_cmvn.py
@@ -73,9 +73,9 @@
         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, :, :]

--
Gitblit v1.9.1