fatchord / WaveRNN

WaveRNN Vocoder + TTS
https://fatchord.github.io/model_outputs/
MIT License
2.14k stars 698 forks source link

ValueError - gen_tacotron.py #234

Open wierzs opened 3 years ago

wierzs commented 3 years ago

Hello, I reinstalled setuptools (same version. 17.0) and now I get an error I haven't gotten before.

WaveRNN\models\fatchord_version.py", line 258, in generate
    output[-20 * self.hop_length:] *= fade_out
ValueError: operands could not be broadcast together with shapes (3575,) (5500,) (3575,)

I've tried to find a solution for this on other pages, but I can't seem to fix this myself. Does anyone have any tips where to look or know how to fix it? I suspect it is the fade_out variable that is the problem.

hparams changes from default: voc_mode = 'RAW' tts_cleaner_names = ['basic_cleaners'] tts_max_mel_len = 3348

Thank you for any feedback you have!

dalvlv commented 2 years ago

Hi, I met the same problem when use gen_tacotron, did you fix it? it seems the tacotron output mel is wrong.