sherpa-onnx icon indicating copy to clipboard operation
sherpa-onnx copied to clipboard

sharpa-onnx支持的模型,如何导出对应的onnx和数据,在sharpa-onnx运行

Open zixi01chen opened this issue 2 months ago • 2 comments

感谢sherpa-onnx的工作。

我使用了方案成功运行了 matcha的模型。

./build-aarch64-linux-gnu/bin/sherpa-onnx-offline-tts --num-threads=8 --matcha-acoustic-model=./matcha-icefall-en_US-ljspeech/model-steps-3.onnx --matcha-vocoder=./vocos-22khz-univ.onnx --matcha-tokens=./matcha-icefall-en_US-ljspeech/tokens.txt --matcha-data-dir=./matcha-icefall-en_US-ljspeech/espeak-ng-data --output-filename=./matcha-ljspeech-1.wav "Friends fell out often because life was changing so fast. The easiest thing in the world was to lose touch with someone."

请问:

  1. matcha 训练后,怎么导出上述用到 model-steps-3.onnx,tokens.txt

zixi01chen avatar Sep 17 '25 07:09 zixi01chen