Support train hifigan (#83)

* support train hifigan
This commit is contained in:
hertz
2021-09-14 13:31:53 +08:00
committed by GitHub
parent 222e302274
commit 3fbe03f2ff
8 changed files with 274 additions and 11 deletions

View File

@@ -361,9 +361,10 @@ class Toolbox:
# Sekect vocoder based on model name
if model_fpath.name[0] == "g":
vocoder = gan_vocoder
self.ui.log("vocoder is hifigan")
self.ui.log("set hifigan as vocoder")
else:
vocoder = rnn_vocoder
self.ui.log("set wavernn as vocoder")
self.ui.log("Loading the vocoder %s... " % model_fpath)
self.ui.set_loading(1)