mirror of https://github.com/coqui-ai/TTS.git
Fix for eval time logging
This commit is contained in:
parent
152acfe824
commit
dcdbdc8f55
2
train.py
2
train.py
|
@ -283,7 +283,7 @@ def evaluate(model, criterion, criterion_st, data_loader, current_step):
|
|||
# ('linear_loss', linear_loss.item()),
|
||||
# ('mel_loss', mel_loss.item()),
|
||||
# ('stop_loss', stop_loss.item())])
|
||||
if current_step % c.print_step == 0:
|
||||
if num_iter % c.print_step == 0:
|
||||
print(" | | > TotalLoss: {:.5f} LinearLoss: {:.5f} MelLoss:{:.5f} "\
|
||||
"StopLoss: {:.5f} ".format(loss.item(),
|
||||
linear_loss.item(),
|
||||
|
|
Loading…
Reference in New Issue