DeepSpeech/examples/ffmpeg_vad_streaming/test.sh
2019-11-05 09:02:42 +01:00

28 lines
901 B
Bash
Executable File

#!/bin/bash
set -xe
THIS=$(dirname "$0")
pushd ${THIS}
source ../tests.sh
npm install $(get_npm_package_url)
npm install
node ./index.js --audio $HOME/DeepSpeech/audio/2830-3980-0043.wav \
--lm $HOME/DeepSpeech/models/lm.binary \
--trie $HOME/DeepSpeech/models/trie \
--model $HOME/DeepSpeech/models/output_graph.pbmm
node ./index.js --audio $HOME/DeepSpeech/audio/4507-16021-0012.wav \
--lm $HOME/DeepSpeech/models/lm.binary \
--trie $HOME/DeepSpeech/models/trie \
--model $HOME/DeepSpeech/models/output_graph.pbmm
node ./index.js --audio $HOME/DeepSpeech/audio/8455-210777-0068.wav \
--lm $HOME/DeepSpeech/models/lm.binary \
--trie $HOME/DeepSpeech/models/trie \
--model $HOME/DeepSpeech/models/output_graph.pbmm
popd