Error using the vocoder microsoft/speecht5_hifigan

#3
by Andrew514 - opened

Hi When I try to use the vocoder microsoft/speecht5_hifigan through the line of code vocoder = AutoModel.from_pretrained("microsoft/speecht5_hifigan") I get the following error message "ValueError: The checkpoint you are trying to load has model type hifigan but Transformers does not recognize this architecture. This could be because of an issue with the checkpoint, or because your version of Transformers is out of date.

You can update Transformers with the command pip install --upgrade transformers. If this does not work, and the checkpoint is very new, then there may not be a release version that supports this model yet. In this case, you can get the most up-to-date code by installing Transformers from source with the command pip install git+https://github.com/huggingface/transformers.git"

I tried the fixes suggested in the error message but they give me the same error. Any help please as I'm new to this. Thanks

Your need to confirm your account before you can post a new comment.

Sign up or log in to comment