Browse Source

Merge pull request #143 from taras-sereda/master

seed from hparams for TextMelLoader
master
Rafael Valle 4 years ago
committed by GitHub
parent
commit
dd49ffa850
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      data_utils.py

+ 1
- 1
data_utils.py View File

@ -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):

Loading…
Cancel
Save