mirror of
https://github.com/wassname/TTS.git
synced 2026-09-09 11:16:00 +08:00
linter fix
This commit is contained in:
@@ -53,6 +53,7 @@ class MyDataset(Dataset):
|
||||
use_noise_augment (bool): enable adding random noise to wav for augmentation.
|
||||
verbose (bool): print diagnostic information.
|
||||
"""
|
||||
super(MyDataset, self).__init__()
|
||||
self.batch_group_size = batch_group_size
|
||||
self.items = meta_data
|
||||
self.outputs_per_step = outputs_per_step
|
||||
|
||||
@@ -21,6 +21,7 @@ class WaveRNNDataset(Dataset):
|
||||
verbose=False,
|
||||
):
|
||||
|
||||
super(WaveRNNDataset, self).__init__()
|
||||
self.ap = ap
|
||||
self.compute_feat = not isinstance(items[0], (tuple, list))
|
||||
self.item_list = items
|
||||
|
||||
Reference in New Issue
Block a user