(self)
| 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") |
nothing calls this directly
no test coverage detected