diff --git a/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/.full_ft.py.swp b/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/.full_ft.py.swp index 32dfc74a4..0804ad215 100644 Binary files a/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/.full_ft.py.swp and b/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/.full_ft.py.swp differ diff --git a/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/.prompt_tuning.py.swp b/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/.prompt_tuning.py.swp index ec67be881..d6d669964 100644 Binary files a/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/.prompt_tuning.py.swp and b/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/.prompt_tuning.py.swp differ diff --git a/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/full_ft.py b/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/full_ft.py index ef2daac6d..e0b272735 100755 --- a/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/full_ft.py +++ b/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/full_ft.py @@ -1002,6 +1002,8 @@ def train_one_epoch( scheduler_enc, scheduler_dec = scheduler[0], scheduler[1] for batch_idx, batch in enumerate(train_dl): + if params.batch_idx_train > params.num_updates: + break if batch_idx < cur_batch_idx: continue cur_batch_idx = batch_idx