From aeaf297f63891e8517d0a8bdaea97865ab9f5949 Mon Sep 17 00:00:00 2001 From: Zhao Yuting <91456992+THUzyt21@users.noreply.github.com> Date: Tue, 27 Sep 2022 16:51:31 +0800 Subject: [PATCH] Update train.py pre-committed --- paddlespeech/kws/exps/mdtc/train.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddlespeech/kws/exps/mdtc/train.py b/paddlespeech/kws/exps/mdtc/train.py index 02cd00a7c..32e0e489a 100644 --- a/paddlespeech/kws/exps/mdtc/train.py +++ b/paddlespeech/kws/exps/mdtc/train.py @@ -137,7 +137,7 @@ if __name__ == '__main__': if epoch % config[ 'save_freq'] == 0 and batch_idx + 1 == steps_per_epoch and local_rank == 0: - + num_corrects = 0 num_samples = 0