Skip to content

Commit

Permalink
Merge pull request #143 from taras-sereda/master
Browse files Browse the repository at this point in the history
seed from hparams for TextMelLoader
  • Loading branch information
rafaelvalle authored Mar 18, 2020
2 parents 2f2ed63 + 5f03d07 commit dd49ffa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def __init__(self, audiopaths_and_text, hparams):
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):
Expand Down

0 comments on commit dd49ffa

Please sign in to comment.