Skip to content

Commit c992690

Browse files
grzegorz-k-karchshakandrew
authored andcommitted
[Internal/PyT/tacotron2] Convergence update
1 parent 3a8068b commit c992690

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • PyTorch/SpeechSynthesis/Tacotron2

PyTorch/SpeechSynthesis/Tacotron2/train.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ def main():
528528
batch_to_gpu,
529529
args.amp)
530530

531-
if (epoch % args.epochs_per_checkpoint == 0) and args.bench_class == "":
531+
if (epoch % args.epochs_per_checkpoint == 0) and (args.bench_class == "" or args.bench_class == "train"):
532532
save_checkpoint(model, optimizer, scaler, epoch, model_config,
533533
args.output, args.model_name, local_rank, world_size)
534534
if local_rank == 0:

0 commit comments

Comments
 (0)