ttslearn.train_util¶
Specific utilities for training
Dataset¶
DataLoader¶
Collate function for DNN-TTS. |
|
Collate function for WaveNet. |
|
Collate function for Tacotron. |
|
Get data loaders for training and validation. |
Model parameters¶
Exponential moving average (EMA) of model parameters. |
|
Count the number of trainable parameters in the model. |
Helper for training¶
Setup for traiining |
|
Save a checkpoint. |
|
Count the number of trainable parameters in the model. |
|
Get epochs with optional progress bar. |
Plotting¶
Plot attention. |
|
Plot 2D features. |