From 1ad439f96b8cdbca98ee95b886d692dfa20e85ce Mon Sep 17 00:00:00 2001
From: mengzhe.cmz <mengzhe.cmz@alibaba-inc.com>
Date: 星期三, 12 四月 2023 19:25:29 +0800
Subject: [PATCH] fix task.py with no dest_sample_rate task; fix bug in train and infer

---
 tests/test_lm_pipeline.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/test_lm_pipeline.py b/tests/test_lm_pipeline.py
index 205d920..3a5ec57 100644
--- a/tests/test_lm_pipeline.py
+++ b/tests/test_lm_pipeline.py
@@ -18,7 +18,7 @@
             model='damo/speech_transformer_lm_zh-cn-common-vocab8404-pytorch',
         )
         rec_result = inference_pipeline(text_in="hello 澶� 瀹� 濂� 鍛�")
-        logger.info("asr inference result: {0}".format(rec_result))
+        logger.info("lm inference result: {0}".format(rec_result))
 
 
 if __name__ == '__main__':

--
Gitblit v1.9.1