mirror of
https://github.com/wassname/TTS.git
synced 2026-09-07 16:40:44 +08:00
bug fix
This commit is contained in:
@@ -283,8 +283,11 @@ def train(model, criterion, criterion_st, optimizer, optimizer_st, scheduler,
|
||||
"prediction": plot_spectrogram(const_spec, ap),
|
||||
"ground_truth": plot_spectrogram(gt_spec, ap),
|
||||
"alignment": plot_alignment(align_img),
|
||||
"alignment_backward": plot_alignment(alignments_backward[0].data.cpu().numpy())
|
||||
}
|
||||
|
||||
if c.bidirectional_decoder:
|
||||
figures["alignment_backward"] = plot_alignment(alignments_backward[0].data.cpu().numpy())
|
||||
|
||||
tb_logger.tb_train_figures(global_step, figures)
|
||||
|
||||
# Sample audio
|
||||
|
||||
Reference in New Issue
Block a user