snakers4 / silero-vad

Silero VAD: pre-trained enterprise-grade Voice Activity Detector
MIT License
3.37k stars 351 forks source link

How to export an ONNX with opset version = 13? #459

Open joyyang1215 opened 3 weeks ago

joyyang1215 commented 3 weeks ago

How to export an ONNX with opset version = 13? Currently, the silero_vad.onnx is opset version = 16. Could you tell me how to get other opset version of the ONNX model? Thanks

snakers4 commented 1 week ago

@joyyang1215

The new VAD version was released just now - https://github.com/snakers4/silero-vad/issues/2#issuecomment-2195433115. It was also exported with opset 16. Can you provide some reasoning behind your choice of the opset? Maybe we can export alternative models with several opsets, if there is some inner logic in the opset choice.

snakers4 commented 1 week ago

While the new release is fresh, we are able to export with certain other opsets. If this is necessary, please provide the necessary opsets and some reasoning.