Skip to content

Commit

Permalink
Bug fixe on unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Edresson committed Dec 26, 2023
1 parent e741cab commit 62b7547
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TTS/bin/train_encoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ def train(model, optimizer, scheduler, criterion, data_loader, eval_data_loader,
)
# save the best checkpoint
best_loss = save_best_model(
eval_loss,
{"train_loss": None, "eval_loss": eval_loss},
best_loss,
c,
model,
Expand Down

0 comments on commit 62b7547

Please sign in to comment.