Skip to content
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

mimic3 voices fail to download #127

Closed
garrett opened this issue Apr 30, 2024 · 5 comments
Closed

mimic3 voices fail to download #127

garrett opened this issue Apr 30, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@garrett
Copy link

garrett commented Apr 30, 2024

I had some mimic3 voices previously downloaded in Speech Note before. However, on a fresh installation, I tried downloading a few text to speech voices and noticed that mimic3 voices are now failing to download. I guess the URLs changed?

For example, the UK apope voices:

showing the details for the apope voices

Trying to download, I get this:

error

"Error: Couldn't download the model file."

If we look at the config.json (as an example), the latest version is at:

https://raw.githubusercontent.com/MycroftAI/mimic3-voices/master/voices/en_UK/apope_low/config.json

(Non-raw, GitHub UI version is at https://github.com/MycroftAI/mimic3-voices/blob/master/voices/en_UK/apope_low/config.json)

So, assuming you'd want the same commit (although it probably wouldn't hurt to bump it up to a new version), the URLs should change. Here's the working URL for the JSON (as an example):

https://raw.githubusercontent.com/MycroftAI/mimic3-voices/b239a9084e21fbaa7ac78ea6e31f5de1c31c8f42/voices/en_UK/apope_low/config.json

The fix looks like it would be to change the hostname from github.com to raw.githubusercontent.com and to also remove raw/ from the URL (as it's included in the hostname).

I think the original URLs might still work in a browser, but that does redirects and I'm not sure if redirects are handled in the app.

@garrett
Copy link
Author

garrett commented Apr 30, 2024

Note: This may also affect more than just mimic3 voices, if other voices are downloaded from GitHub.

@mkiol
Copy link
Owner

mkiol commented Apr 30, 2024

Many thanks for reporting this.

The problem seems to be related only to big in size *.onnx files. It is not possible to download them. Even git clone on mimic3 repository doesn't work. I'm receiving the following error which actually explains everything:

This repository is over its data quota. Account responsible for LFS bandwidth should purchase more data packs to restore access.

The problem is only with mimic3.

@mkiol
Copy link
Owner

mkiol commented Apr 30, 2024

I've created this to report the problem.

@mkiol
Copy link
Owner

mkiol commented May 1, 2024

I've re-uploaded all mimic3 models to my own repository on hugging face: https://huggingface.co/mukowaty/mimic3-voices

Fix: 8442c91

If you want to fix this without waiting for the next release, you can edit ~/.var/app/net.mkiol.SpeechNote/data/net.mkiol/dsnote/models.json file and update urls manually by replacing all occurrences of:

https://github.com/MycroftAI/mimic3-voices/raw/b239a9084e21fbaa7ac78ea6e31f5de1c31c8f42

to

https://huggingface.co/mukowaty/mimic3-voices/resolve/2b85a29b20717fdb3da37c96c9058f1bf2dd476f

@mkiol mkiol added the bug Something isn't working label May 1, 2024
@mkiol mkiol pinned this issue May 1, 2024
@mkiol
Copy link
Owner

mkiol commented May 19, 2024

New version 4.5.0 is out. The fix is included.

@mkiol mkiol closed this as completed May 19, 2024
@mkiol mkiol unpinned this issue May 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants