remove Variable from LJSpeecj.py

pull/10/head
Eren Golge 2018-05-10 16:35:04 -07:00
parent 4ab8cbb016
commit 8dc0df5ac2
1 changed files with 0 additions and 4 deletions

View File

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