From 638cb5cc3531f13276a9a69e223d8002a471038e Mon Sep 17 00:00:00 2001 From: jinzr Date: Wed, 10 Jan 2024 22:07:27 +0800 Subject: [PATCH] Update train.py --- egs/aishell/ASR/zipformer_bbpe/train.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/egs/aishell/ASR/zipformer_bbpe/train.py b/egs/aishell/ASR/zipformer_bbpe/train.py index ff89df8e0..df1a4474e 100755 --- a/egs/aishell/ASR/zipformer_bbpe/train.py +++ b/egs/aishell/ASR/zipformer_bbpe/train.py @@ -1145,7 +1145,7 @@ def run(rank, world_size, args): # You should use ../local/display_manifest_statistics.py to get # an utterance duration distribution for your dataset to select # the threshold - if c.duration < 1.0 or c.duration > 12.0: + if c.duration < 1.0 or c.duration > 15.0: # logging.warning( # f"Exclude cut with ID {c.id} from training. Duration: {c.duration}" # ) @@ -1273,8 +1273,8 @@ def display_and_save_batch( for the content in it. params: Parameters for training. See :func:`get_params`. - graph_compiler: - The compiler to encode texts to ids. + sp: + The sentence piece model. """ from lhotse.utils import uuid4