-
Notifications
You must be signed in to change notification settings - Fork 105
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 TTS models failing to load with INVALID_PROTOBUF error #58
Comments
I tried cloning the mimic3 repository from GitHub and running the Dockerfile, but I encountered the same error. |
Inspect the contents of the onnx file. It is probably error text from a failed download due to GitHub. |
Where do you put the downloaded files? Mimic3 doesn't run off the of the files cloned from the repository if installed based on the installation instructions which suggests the downloaded voice files need to be put somewhere special. note to self: this is the least broken one ive tried so far (im going try every ai tts on github until i find one that actually works) |
Since I also ran into this issue today, I had a look at the problem. It is indeed a problem with downloading the Line 23 in be72c18
does not return the file-contents, but rather a so called pointer file. So currently after downloading, inside the filesystem generator.onnx contains for example:
It requires multiple steps to get such an LFS-file, I found this very useful gist: https://gist.github.com/fkraeutli/66fa741d9a8c2a6a238a01d17ed0edc5 So, to fix this, it would be necessary to add this functionality to the downloader. In the meantime one can download the file manually for each voice. |
The voices are stored at |
I get the following when trying to fetch voices from LFS: |
Any update on this ? @ken-mycroft @alan-mycroft |
I am encountering an issue with Mimic3 TTS models failing to load with the error "INVALID_PROTOBUF". Despite following the installation steps and ensuring the correct setup, the models are not loading correctly and the error persists.
Steps to reproduce the behavior:
The expected behavior is for the TTS model to load successfully and generate the audio output without errors.
Here are the relevant log files and error messages:
[ONNXRuntimeError] : 7 : INVALID_PROTOBUF : Load model from /home/user/.local/share/mycroft/mimic3/voices/en_US/ljspeech_low/generator.onnx failed: Protobuf parsing failed.
Environment:
Additional context:
I have tried downloading and using multiple voice models (en_US/ljspeech_low, en_US/cmu-arctic_low, en_US/vctk_low) and encountered the same error with each. I followed the installation and usage instructions carefully but have not been able to resolve the issue. Any guidance or suggestions to resolve this problem would be greatly appreciated.
Thank you for your assistance.
The text was updated successfully, but these errors were encountered: