Skip to content

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

update

嘉渊9847fd24a814
diff --git a/funasr/bin/train.py b/funasr/bin/train.py
index 7a9986cf4..26e0e6a26 100755
--- a/funasr/bin/train.py
+++ b/funasr/bin/train.py
@@ -284,6 +284,17 @@ def get_parser():
action="append",
default=[],
)
+ parser.add_argument(
+ "--train_shape_file",
+ type=str, action="append",
+ default=[],
+ )
+ parser.add_argument(
+ "--valid_shape_file",
+ type=str,
+ action="append",
+ default=[],
+ )
parser.add_argument(
"--use_preprocessor",
type=str2bool,