From 8dc0df5ac2ab5c963cfdd3fd2c1f5e4c3fc19b26 Mon Sep 17 00:00:00 2001 From: Eren Golge Date: Thu, 10 May 2018 16:35:04 -0700 Subject: [PATCH] remove Variable from LJSpeecj.py --- datasets/LJSpeech.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/datasets/LJSpeech.py b/datasets/LJSpeech.py index 898b88bf..03ccee28 100644 --- a/datasets/LJSpeech.py +++ b/datasets/LJSpeech.py @@ -72,10 +72,6 @@ class LJSpeechDataset(Dataset): sample = {'text': text, 'wav': wav, 'item_idx': self.frames[idx][0]} return sample - def get_dummy_data(self): - r"""Get a dummy input for testing""" - return torch.autograd.Variable(torch.ones(16, 143)).type(torch.LongTensor) - def collate_fn(self, batch): r""" Perform preprocessing and create a final data batch: