-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when using with the HiFiGAN vocoder #57
Comments
Hi, true I just found that the current HifiGAN repo requests numpy files. Just updated the code. Try with :
|
Thank you for your reply!
Using Wavernn vocoder would show the same error. |
Hi, it seems that you trained your model with an old version of the repo - I made some major changes that couldn't be backward compatible. You have two options: 1) retrain the model with the updated code (probably better quality), or 2) use the old code (you would need to revert it to the point before updating) and just replace the generate_forward.py with the newest version. |
Solved! |
I was trying to synthesize speech using the pretrained model with the HiFiGAN vocoder.
First I generated the mel file with
python gen_forward.py --input_text 'this is whatever you want it to be' melgan
Then, in the HiFiGAN vocoder repo, as stated in its README, I put the mel file in the
test_mel_files
, and runpython inference_e2e.py --checkpoint_file "./model/generator_v3"
And I got the following error:
It seems to have something to do with the mel file.
What am I missing? What should I do?
Thanks.
The text was updated successfully, but these errors were encountered: