-
Notifications
You must be signed in to change notification settings - Fork 4
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
How to do inference for ONNX model? #2
Comments
@synesthesiam looking forward to hearing from you |
Hi @neso613, Onnx export happens here: https://github.com/rhasspy/glow-tts-train/blob/master/glow_tts_train/export_onnx.py The most important code for export starts here:
Inference is here: https://github.com/rhasspy/glow-tts-train/blob/master/glow_tts_train/infer_onnx.py This commit contains many of the changes I made to get Onnx export working: 96452c8 |
Hi @synesthesiam And I think this issue is because of this dummy_input link |
This proposed chnages is with reference to the issue - rhasspy#2.
@synesthesiam converted onnx model takes dummy input as fixed shape and do not work on dynamic input shape. Your inputs required. |
@synesthesiam
` Then, I get error |
@neso613 I started seeing similar problems after upgrading my setup. I've since moved on to a different TTS model, so I'm not sure where the problem actually was 🙁 |
Thanks @synesthesiam for confirming the error. |
Hi
Please share steps for onnx model inferecing and also share pretrain weight to convert glowTTS to onnx.
Thanks
The text was updated successfully, but these errors were encountered: