From 65e68a9fc719d57f425cb5aa2e884768303396f8 Mon Sep 17 00:00:00 2001
From: 雾聪 <wucong.lyb@alibaba-inc.com>
Date: 星期一, 26 六月 2023 17:23:48 +0800
Subject: [PATCH] fix funasr-onnx-offline-rtf's log

---
 funasr/build_utils/build_args.py |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/funasr/build_utils/build_args.py b/funasr/build_utils/build_args.py
index cc43064..632c134 100644
--- a/funasr/build_utils/build_args.py
+++ b/funasr/build_utils/build_args.py
@@ -41,7 +41,7 @@
             "--cmvn_file",
             type=str_or_none,
             default=None,
-            help="The file path of noise scp file.",
+            help="The path of cmvn file.",
         )
 
     elif args.task_name == "pretrain":
@@ -75,6 +75,12 @@
             default=None,
             help="The number of input dimension of the feature",
         )
+        task_parser.add_argument(
+            "--cmvn_file",
+            type=str_or_none,
+            default=None,
+            help="The path of cmvn file.",
+        )
 
     elif args.task_name == "diar":
         from funasr.build_utils.build_diar_model import class_choices_list

--
Gitblit v1.9.1