From 61e7929c6096694a8f53eaf5d8a40f7ff0e16865 Mon Sep 17 00:00:00 2001 From: Daniel Povey Date: Thu, 26 May 2022 15:18:03 +0800 Subject: [PATCH] Remove unused arg --- .../ASR/pruned_transducer_stateless4/train.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/egs/librispeech/ASR/pruned_transducer_stateless4/train.py b/egs/librispeech/ASR/pruned_transducer_stateless4/train.py index 26c2fd4c9..5d9683d54 100755 --- a/egs/librispeech/ASR/pruned_transducer_stateless4/train.py +++ b/egs/librispeech/ASR/pruned_transducer_stateless4/train.py @@ -274,19 +274,6 @@ def get_parser(): """, ) - parser.add_argument( - "--average-decay", - type=int, - default=100, - help="""Update the averaged model, namely `model_avg`, after processing - this number of batches. `model_avg` is a separate version of model, - in which each floating-point parameter is the average of all the - parameters from the start of training. Each time we take the average, - we do: `model_avg = model * (average_period / batch_idx_train) + - model_avg * ((batch_idx_train - average_period) / batch_idx_train)`. - """, - ) - parser.add_argument( "--use-fp16", type=str2bool,