From 906d0ad6f821d9e2fc933eb8ab6977a7e635505a Mon Sep 17 00:00:00 2001 From: Mingshuang Luo <37799481+luomingshuang@users.noreply.github.com> Date: Tue, 12 Oct 2021 20:16:51 +0800 Subject: [PATCH] Update train.py --- egs/librispeech/ASR/tdnn_lstm_ctc/train.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/egs/librispeech/ASR/tdnn_lstm_ctc/train.py b/egs/librispeech/ASR/tdnn_lstm_ctc/train.py index 51a486e07..4a8574019 100755 --- a/egs/librispeech/ASR/tdnn_lstm_ctc/train.py +++ b/egs/librispeech/ASR/tdnn_lstm_ctc/train.py @@ -435,7 +435,7 @@ def train_one_epoch( f"batch {batch_idx}, loss[{loss_info}], " f"tot_loss[{tot_loss}], batch size: {batch_size}" ) - if batch_idx % 10 == 0: + if batch_idx % params.log_interval == 0: if tb_writer is not None: loss_info.write_summary(