mirror of https://github.com/coqui-ai/TTS.git
remove Variable from LJSpeecj.py
This commit is contained in:
parent
27f5c476da
commit
779705ae00
|
@ -72,10 +72,6 @@ class LJSpeechDataset(Dataset):
|
||||||
sample = {'text': text, 'wav': wav, 'item_idx': self.frames[idx][0]}
|
sample = {'text': text, 'wav': wav, 'item_idx': self.frames[idx][0]}
|
||||||
return sample
|
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):
|
def collate_fn(self, batch):
|
||||||
r"""
|
r"""
|
||||||
Perform preprocessing and create a final data batch:
|
Perform preprocessing and create a final data batch:
|
||||||
|
|
Loading…
Reference in New Issue