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

Problem with piper-tts models #1637

Open
mah92 opened this issue Dec 21, 2024 · 5 comments
Open

Problem with piper-tts models #1637

mah92 opened this issue Dec 21, 2024 · 5 comments

Comments

@mah92
Copy link

mah92 commented Dec 21, 2024

Hi
I am trying to test SherpaOnnxTts on android.
Onnx lessac model from pretrained_models works but models from piper-voices repository like lessac not works (the program just hangs on startup). What conversion do you perform on piper models to work?
I use static libonnx(sherpa-onnx-static-link-onnxruntime-1.10.35.aar), can it be the problem source?

@mah92
Copy link
Author

mah92 commented Dec 21, 2024

  1. When converting a piper ckpt file, what steps are recommended?
  2. Then how can I add a voice to sherpa repo? Should I add an issue or change somewhere and add a pull request?

@csukuangfj
Copy link
Collaborator

Have you ever read the sherpa-onnx doc for converting models from piper?

Also, when you encounter errors, please describe in detail how to reproduce them and post the complete logs. Otherwise, we cannot help you.

@mablue
Copy link
Contributor

mablue commented Dec 21, 2024

dont forget metadata generation
https://k2-fsa.github.io/sherpa/onnx/tts/piper.html

@mah92
Copy link
Author

mah92 commented Dec 21, 2024

Thank you. It was the problem. I still have one question(which I did not find in the documents)
How can I add a voice to sherpa repo? Should I add an issue or change somewhere and add a pull request?

@csukuangfj
Copy link
Collaborator

Thank you. It was the problem. I still have one question(which I did not find in the documents)
How can I add a voice to sherpa repo? Should I add an issue or change somewhere and add a pull request?

Do you mean to add a new piper tts model?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants