mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-12-11 06:55:27 +00:00
Compute valid loss on batch 0.
This commit is contained in:
parent
88d0da7192
commit
96e0d92fb7
@ -838,7 +838,7 @@ def train_one_epoch(
|
||||
tb_writer, "train/tot_", params.batch_idx_train
|
||||
)
|
||||
|
||||
if batch_idx > 0 and batch_idx % params.valid_interval == 0:
|
||||
if batch_idx % params.valid_interval == 0:
|
||||
logging.info("Computing validation loss")
|
||||
valid_info = compute_validation_loss(
|
||||
params=params,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user