Skip to content

Commit

Permalink
fixup! Fix aux unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
eginhard committed Dec 12, 2023
1 parent fc09921 commit 9f325b1
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 @@ -125,7 +125,7 @@ def evaluation(model, criterion, data_loader, global_step):

def train(model, optimizer, scheduler, criterion, data_loader, eval_data_loader, global_step):
model.train()
best_loss = float("inf")
best_loss = {"train_loss": None, "eval_loss": float("inf")}
avg_loader_time = 0
end_time = time.time()
for epoch in range(c.epochs):
Expand Down

0 comments on commit 9f325b1

Please sign in to comment.