MCPcopy
hub / github.com/coqui-ai/TTS / test_test_run

Method test_test_run

tests/tts_tests2/test_glow_tts.py:318–325  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

316 logger.finish()
317
318 def test_test_run(self):
319 config = GlowTTSConfig(num_chars=32)
320 model = GlowTTS.init_from_config(config, verbose=False).to(device)
321 model.run_data_dep_init = False
322 model.eval()
323 test_figures, test_audios = model.test_run(None)
324 self.assertTrue(test_figures is not None)
325 self.assertTrue(test_audios is not None)
326
327 def test_load_checkpoint(self):
328 chkp_path = os.path.join(get_tests_output_path(), "dummy_glow_tts_checkpoint.pth")

Callers

nothing calls this directly

Calls 4

GlowTTSConfigClass · 0.90
init_from_configMethod · 0.45
evalMethod · 0.45
test_runMethod · 0.45

Tested by

no test coverage detected