mirror of https://github.com/coqui-ai/TTS.git
Update test_run in wavernn and wavegrad
This commit is contained in:
parent
bf540f4323
commit
e0f9be76c0
|
@ -307,7 +307,9 @@ class Wavegrad(BaseVocoder):
|
||||||
y = y.unsqueeze(1)
|
y = y.unsqueeze(1)
|
||||||
return {"input": m, "waveform": y}
|
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"]
|
ap = assets["audio_processor"]
|
||||||
dataset = WaveGradDataset(
|
dataset = WaveGradDataset(
|
||||||
ap=ap,
|
ap=ap,
|
||||||
|
|
Loading…
Reference in New Issue