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
2bd4227889
commit
a6dcaff260
Binary file not shown.
@ -480,7 +480,7 @@ def compute_validation_loss(
|
||||
try: os.remove(remove_filename)
|
||||
except: pass
|
||||
|
||||
del params.best_valid_losses[k]
|
||||
del params.best_valid_losses[remove_epoch]
|
||||
params.best_valid_losses[params.cur_epoch] = loss_value
|
||||
|
||||
return tot_loss
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user