Skip to content

Commit dfe1c60

Browse files
authored
Fix undefined output (#118)
partly resolves coqui-ai/TTS#2798
1 parent 2a5a13e commit dfe1c60

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

trainer/trainer.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1619,6 +1619,7 @@ def eval_epoch(self) -> None:
16191619
self.c_logger.print_eval_start()
16201620
loader_start_time = time.time()
16211621
batch = None
1622+
outputs = None
16221623
for cur_step, batch in enumerate(self.eval_loader):
16231624
# format data
16241625
batch = self.format_batch(batch)

0 commit comments

Comments
 (0)