update voc name

pull/1109/head
TianYuan 3 years ago
parent 2189b46004
commit ca12a83d5a

@ -465,7 +465,7 @@ class TTSExecutor(BaseExecutor):
# vocoder
# model: {model_name}_{dataset}
voc_name = '_'.join(voc.split('_')[:-1])
voc_name = voc[:voc.rindex('_')]
voc_class = dynamic_import(voc_name, model_alias)
voc_inference_class = dynamic_import(voc_name + '_inference',
model_alias)

Loading…
Cancel
Save