From 0da228c587e97a3bfb3325c914ef819b2eaf5640 Mon Sep 17 00:00:00 2001 From: Daniel Povey Date: Mon, 5 Dec 2022 19:50:25 +0800 Subject: [PATCH] Restore the computation of valid stats. --- egs/librispeech/ASR/pruned_transducer_stateless7/train.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/egs/librispeech/ASR/pruned_transducer_stateless7/train.py b/egs/librispeech/ASR/pruned_transducer_stateless7/train.py index 60ab12a4f..6abeb406b 100755 --- a/egs/librispeech/ASR/pruned_transducer_stateless7/train.py +++ b/egs/librispeech/ASR/pruned_transducer_stateless7/train.py @@ -948,7 +948,7 @@ def train_one_epoch( - if batch_idx % params.valid_interval == 0 and not params.print_diagnostics and False: + if batch_idx % params.valid_interval == 0 and not params.print_diagnostics: logging.info("Computing validation loss") valid_info = compute_validation_loss( params=params,