mirror of https://github.com/coqui-ai/TTS.git
bug fix
This commit is contained in:
parent
fef3aecc09
commit
63eea4a364
2
.compute
2
.compute
|
@ -12,5 +12,5 @@ python3 setup.py develop
|
|||
# cp -R ${USER_DIR}/GermanData ../tmp/
|
||||
# python3 distribute.py --config_path config_tacotron_de.json --data_path ../tmp/GermanData/karlsson/
|
||||
cp -R ${USER_DIR}/Mozilla_22050 ../tmp/
|
||||
python3 distribute.py --config_path config_tacotron.json --data_path ../tmp/Mozilla_22050/ --restore_path /data/rw/home/4845.pth.tar
|
||||
python3 distribute.py --config_path config_tacotron_gst.json --data_path ../tmp/Mozilla_22050/
|
||||
while true; do sleep 1000000; done
|
||||
|
|
|
@ -46,7 +46,7 @@ def synthesis(model, text, CONFIG, use_cuda, ap, truncated=False, enable_eos_bos
|
|||
decoder_output = decoder_output[0].data.cpu().numpy()
|
||||
alignment = alignments[0].cpu().data.numpy()
|
||||
# plot results
|
||||
if CONFIG.model == "Tacotron":
|
||||
if CONFIG.model in ["Tacotron", "TacotronGST"]:
|
||||
wav = ap.inv_spectrogram(postnet_output.T)
|
||||
else:
|
||||
wav = ap.inv_mel_spectrogram(postnet_output.T)
|
||||
|
|
Loading…
Reference in New Issue