diff --git a/egs/aishell/ASR/transformer_ctc/.train.py.swp b/egs/aishell/ASR/transformer_ctc/.train.py.swp index dca7c03a1..8e82a9ded 100644 Binary files a/egs/aishell/ASR/transformer_ctc/.train.py.swp and b/egs/aishell/ASR/transformer_ctc/.train.py.swp differ diff --git a/egs/aishell/ASR/transformer_ctc/train.py b/egs/aishell/ASR/transformer_ctc/train.py index 91d43a4d7..bf7d7a3db 100755 --- a/egs/aishell/ASR/transformer_ctc/train.py +++ b/egs/aishell/ASR/transformer_ctc/train.py @@ -475,6 +475,7 @@ def compute_validation_loss( for k, v in params.best_valid_losses.items(): if v == max(params.best_valid_losses.values()): remove_epoch = k + break remove_filename = params.exp_dir / f"best-valid-loss_{remove_epoch}.pt" try: os.remove(remove_filename)