From 94eedab88e377805669d9239ac66922b21fc8a89 Mon Sep 17 00:00:00 2001 From: JinZr <60612200+JinZr@users.noreply.github.com> Date: Wed, 9 Aug 2023 17:05:09 +0800 Subject: [PATCH] minor fixes --- egs/aidatatang_200zh/ASR/zipformer/onnx_decode.py | 2 +- egs/aidatatang_200zh/ASR/zipformer/train.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/egs/aidatatang_200zh/ASR/zipformer/onnx_decode.py b/egs/aidatatang_200zh/ASR/zipformer/onnx_decode.py index ed5f6db08..4bd88e546 100755 --- a/egs/aidatatang_200zh/ASR/zipformer/onnx_decode.py +++ b/egs/aidatatang_200zh/ASR/zipformer/onnx_decode.py @@ -111,7 +111,7 @@ def get_parser(): parser.add_argument( "--exp-dir", type=str, - default="pruned_transducer_stateless7/exp", + default="zipformer/exp", help="The experiment dir", ) diff --git a/egs/aidatatang_200zh/ASR/zipformer/train.py b/egs/aidatatang_200zh/ASR/zipformer/train.py index 36df18c1d..78987ecc8 100755 --- a/egs/aidatatang_200zh/ASR/zipformer/train.py +++ b/egs/aidatatang_200zh/ASR/zipformer/train.py @@ -1149,7 +1149,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 > 15.0: + if c.duration < 1.0 or c.duration > 10.0: # logging.warning( # f"Exclude cut with ID {c.id} from training. Duration: {c.duration}" # )