Update test_run in wavernn and wavegrad

This commit is contained in:
Eren Gölge 2022-02-20 11:36:27 +01:00
parent bf540f4323
commit e0f9be76c0
1 changed files with 3 additions and 1 deletions

View File

@ -307,7 +307,9 @@ class Wavegrad(BaseVocoder):
y = y.unsqueeze(1)
return {"input": m, "waveform": y}
def get_data_loader(self, config: Coqpit, assets: Dict, is_eval: True, samples: List, verbose: bool, num_gpus: int):
def get_data_loader(
self, config: Coqpit, assets: Dict, is_eval: True, samples: List, verbose: bool, num_gpus: int
):
ap = assets["audio_processor"]
dataset = WaveGradDataset(
ap=ap,