|
@ -24,7 +24,7 @@ class TextMelLoader(torch.utils.data.Dataset): |
|
|
hparams.filter_length, hparams.hop_length, hparams.win_length, |
|
|
hparams.filter_length, hparams.hop_length, hparams.win_length, |
|
|
hparams.n_mel_channels, hparams.sampling_rate, hparams.mel_fmin, |
|
|
hparams.n_mel_channels, hparams.sampling_rate, hparams.mel_fmin, |
|
|
hparams.mel_fmax) |
|
|
hparams.mel_fmax) |
|
|
random.seed(1234) |
|
|
|
|
|
|
|
|
random.seed(hparams.seed) |
|
|
random.shuffle(self.audiopaths_and_text) |
|
|
random.shuffle(self.audiopaths_and_text) |
|
|
|
|
|
|
|
|
def get_mel_text_pair(self, audiopath_and_text): |
|
|
def get_mel_text_pair(self, audiopath_and_text): |
|
|