-
Notifications
You must be signed in to change notification settings - Fork 176
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
How to load pretrained model in local? #69
Comments
Hey, you can pass the file name as a string, like this:
If you want to avoid downloading anything automatically you'll need to download and pass in |
Here's another option in a script I made which works alright. The text to be spoken hardcoded into the script for testing purposes, but it has the necessary structure you're looking for I believe, enough to get started:
It relies on pydub instead of the standard way that text is processed by the source code, however, just FYI. |
Hello, This project is awesome!
but I have a small problem with using this project.
I wanted to download and use the 'pretrained-model'("s2a-q4-small-en+pl.model") to apply this to the existing project.
An error occurs in the process of downloading the 'pretrained-model' you provided and handing over the parameter to ref as 'local_filename' through Pipeline.
[code]
[error]
Do you have any instructions or guides to use the 'pretrained-model' you provided?
I looked up the code but only load_model of 't2s' and 's2a' class was valid for me.
Thank you for your research and contribution!
The text was updated successfully, but these errors were encountered: