rhasspy / piper

A fast, local neural text to speech system
https://rhasspy.github.io/piper-samples/
MIT License
6.44k stars 473 forks source link

can't fix the size of onnx model #119

Closed Xwmiss closed 1 year ago

Xwmiss commented 1 year ago

when I am fix the input size of the onnx model, but find the some ops did't have a fixed size. Such as the NonZero('/dp/flows.5/NonZero') in the onnx model, do you know why and how to fix it

synesthesiam commented 1 year ago

I don't know that specifically, but I'd guess it would be easier to fix the size in the export script: https://github.com/rhasspy/piper/blob/master/src/python/piper_train/export_onnx.py