mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-12-11 06:55:27 +00:00
from local
This commit is contained in:
parent
18fd718501
commit
4d82da2317
Binary file not shown.
@ -471,7 +471,7 @@ def compute_validation_loss(
|
|||||||
|
|
||||||
loss_value = tot_loss["loss"] / tot_loss["frames"]
|
loss_value = tot_loss["loss"] / tot_loss["frames"]
|
||||||
|
|
||||||
if loss.device == 0:
|
if wb is not None:
|
||||||
wb.log({"valid/loss": loss_value})
|
wb.log({"valid/loss": loss_value})
|
||||||
|
|
||||||
if params.cur_epoch < 10:
|
if params.cur_epoch < 10:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user