diff --git a/data_utils.py b/data_utils.py index fdfd287..ed87238 100644 --- a/data_utils.py +++ b/data_utils.py @@ -24,7 +24,7 @@ class TextMelLoader(torch.utils.data.Dataset): hparams.filter_length, hparams.hop_length, hparams.win_length, hparams.n_mel_channels, hparams.sampling_rate, hparams.mel_fmin, hparams.mel_fmax) - random.seed(1234) + random.seed(hparams.seed) random.shuffle(self.audiopaths_and_text) def get_mel_text_pair(self, audiopath_and_text):