mirror of
https://github.com/wassname/TTS.git
synced 2026-09-09 11:16:00 +08:00
remove Variable from LJSpeecj.py
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user