mirror of
https://github.com/wassname/TTS.git
synced 2026-10-28 12:41:20 +08:00
Update test_run in wavernn and wavegrad
This commit is contained in:
1 parent
bf540f4323
commit
e0f9be76c0
1 file changed
+3
-1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user