-
Hi, is there a turtorial for exporting VAD model (or similar) to jit? If that is possible to do? |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments
-
Hey @fpaissan could you please help him? Many thanks. :-) |
Beta Was this translation helpful? Give feedback.
-
Hey @samr66, We don't have a tutorial on how to export the VAD model to ONNX, but it's currently being developed. Hope this was useful.. let me know if you have any other questions.. :) |
Beta Was this translation helpful? Give feedback.
-
Hey @fpaissan! Really looking forward to the tutorial! Approximately by when would this be ready? Currently, we are trying to export a jit version of the VAD model so that we can have a more portable version of the model (without speechbrain dependency, torch dependency is ok for now). I tried doing this but the outputs of the exported model and the original model differ, which makes me suspect that I am making a mistake somewhere (happy to share my code with you, if that helps!). Could you help me with a possible pseudo-code that I should be following? |
Beta Was this translation helpful? Give feedback.
-
Sure, @AdityaYadavalli1, if you have a code snippet I could use to reproduce your problem, I might be able to help debug it. The tutorial should be a matter of a couple of months. I'll ping you as soon as we release it. Cheers |
Beta Was this translation helpful? Give feedback.
-
Thank you so much @fpaissan! I will share the notebook with you shortly! |
Beta Was this translation helpful? Give feedback.
-
Hey, is there any news on the documentation on how to export the model, I am trying to export the G2P model and I am running into all kinds of issues, thanks! |
Beta Was this translation helpful? Give feedback.
Hey @samr66,
We don't have a tutorial on how to export the VAD model to ONNX, but it's currently being developed.
However, please note that ONNX still does not support FFT (pytorch/pytorch#81075 (comment)), so the model is not exportable as-is but should be slightly modified to remove the feature extraction from the model.
Hope this was useful.. let me know if you have any other questions.. :)