Skip to content

Comments/Suggestions #6

Description

@astoniab

Thanks for this project. I was looking for a way to run Kokoro via onnxruntime. Here are some comments and suggestions about what I've experienced.

  1. When passing a filename to load the onnx model, the filename (char_t *) gets cast to a (wchar_t *). That crashes, as least on Windows. You'd need to convert the multibyte string to wide char string.
  2. I'd like to be able to use different onnxruntime execution providers to run the model. I've hacked this into mine by passing a new parameter for execution provider and its parameters when creating the session. I also had to re-export the phonemizer and Kokoro models since each had an issue using the DirectML execution provider.
  3. It would be great to also support the KittenTTS model. It's almost a drop in replacement. Just a few differences with the input size and vocab.
  4. I re-exported the vocab from Kokoro, and got a slightly different one than in this repository. I didn't notice any output differences, so I'm not sure if it matters.
  5. Some words with apostrophes (e.g. doesn't, won't) aren't pronounced correctly. I don't see them in the dictionary, so I don't know if it's an issue with the input to the phonemizer model, or the output of it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions