snakers4 / silero-vad

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

Tensorflow or Tensorflow Lite model of Silero VAD #46

Closed Nikaa02 closed 3 years ago

Nikaa02 commented 3 years ago

🚀 Feature

Publish open source Silero VAD model on TensorFlow or TensorFlow Lite

Motivation

I wish to use your Silero VAD model in a production environment where only TF is supported

Pitch

Silero VAD would be very useful on mobile and embedded devices. TensorFlow Lite is the best variant in context of devices with limited memory and capacity.

Alternatives

I tried to convert both published models to TF but faced with different problems, maybe because of mutable input size or torchscript and onnxruntime instead of classical torch and onnx types.

Additional context

Thank you in advance.

snakers4 commented 3 years ago

Hi,

Many thanks for your interest. This is an interesting issue.

Note that PyTorch now has mobile and it also light binaries for mobile released in 1.8 (70% size reduction).

ONNX is also an option for edge deployment - people were able to launch it on ARM64.

As for the TF:

snakers4 commented 3 years ago

So to sum this up:

snakers4 commented 3 years ago

Some weekly stats just for the sake of argument

Screenshot_20210319-062322_Opera Touch