Skip to content
Alexander Veysov edited this page Dec 21, 2021 · 9 revisions
  • Are mobile / edge / ARM supported?

    • ONNX runtime should have mobile / edge / ARM builds (16 kHz sampling rate only for now)

    • PyTorch has lite builds for mobile

    • According to users, running ONNX runtime on ARM is easier than PyTorch

    • Also according to users on Android:

      image

    • On Linux x86_64:

      image

  • Are sampling rates other than 8000 Hz and 16000 Hz supported?

    JIT model supports both 8000 and 16000 Hz, ONNX model supports 16000 Hz only. Although other values are not directly supported, multiples of 16000 (e.g. 32000 or 48000) are cast to 16000 inside of the JIT model!

    image

  • How to tune the hyper parameters?

    Though for majority of use cases no tuning is necessary by design, a good start would be to plot probabilities, select the threshold, min_speech_duration_ms, window_size_samples and min_silence_duration_ms. See thus discussion and docstrings for examples.

Clone this wiki locally