mirror of
https://github.com/wassname/TTS.git
synced 2026-09-10 11:50:20 +08:00
fix condition check
This commit is contained in:
@@ -389,7 +389,7 @@ def evaluate(model, criterion, ap, global_step, epoch):
|
||||
tb_logger.tb_eval_stats(global_step, keep_avg.avg_values)
|
||||
tb_logger.tb_eval_figures(global_step, eval_figures)
|
||||
|
||||
if args.rank == 0 and epoch > c.test_delay_epochs:
|
||||
if args.rank == 0 and epoch >= c.test_delay_epochs:
|
||||
if c.test_sentences_file is None:
|
||||
test_sentences = [
|
||||
"It took me quite a long time to develop a voice, and now that I have it I'm not going to be silent.",
|
||||
|
||||
Reference in New Issue
Block a user