mirror of
https://github.com/wassname/TTS.git
synced 2026-10-24 12:00:20 +08:00
remove Variable from LJSpeecj.py
This commit is contained in:
1 parent
4ab8cbb016
commit
8dc0df5ac2
1 file changed
-4
@@ -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