fix condition check

This commit is contained in:
erogol 2020-08-11 18:27:49 +02:00
parent 72b8ac0ff6
commit 498a3ea36f
1 changed files with 1 additions and 1 deletions

View File

@ -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.",