raise not implemented for multispeaker TTS_tf inference

This commit is contained in:
erogol 2020-05-20 14:26:56 +02:00
Родитель cb9ac27b65
Коммит a893405739
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -62,9 +62,11 @@ def run_model_tf(model, inputs, CONFIG, truncated, speaker_id=None, style_mel=No
raise NotImplementedError(' [!] GST inference not implemented for TF')
if truncated:
raise NotImplementedError(' [!] Truncated inference not implemented for TF')
if speaker_id is not None:
raise NotImplementedError(' [!] Multi-Speaker not implemented for TF')
# TODO: handle multispeaker case
decoder_output, postnet_output, alignments, stop_tokens = model(
inputs, speaker_ids=speaker_id)
inputs, training=False)
return decoder_output, postnet_output, alignments, stop_tokens