From 5f03d07488d21024e944b2675d35b649f8e4156a Mon Sep 17 00:00:00 2001 From: Taras Sereda Date: Thu, 14 Feb 2019 10:10:58 +0200 Subject: [PATCH] seed from hparams for TextMelLoader --- data_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):