From 20bebd37ea634d06bc113dc30550a4ec703c2bfb Mon Sep 17 00:00:00 2001 From: hlm628 <71808302+hlm628@users.noreply.github.com> Date: Thu, 24 Feb 2022 17:49:21 +1300 Subject: [PATCH] Also install tflite model This is used by align.py --- bin/getmodel.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bin/getmodel.sh b/bin/getmodel.sh index e60e5b6..626e5e7 100755 --- a/bin/getmodel.sh +++ b/bin/getmodel.sh @@ -4,6 +4,7 @@ version="0.7.1" dir="deepspeech-${version}-models" am="${dir}.pbmm" scorer="${dir}.scorer" +tflite="${dir}.tflite" mkdir -p models/en cd models/en @@ -16,6 +17,10 @@ if [[ ! -f $scorer ]] ; then wget "https://github.com/mozilla/DeepSpeech/releases/download/v${version}/${scorer}" fi +if [[ ! -f $tflite ]] ; then + wget "https://github.com/mozilla/DeepSpeech/releases/download/v${version}/${tflite}" +fi + if [[ ! -f "alphabet.txt" ]] ; then wget "https://raw.githubusercontent.com/mozilla/DeepSpeech/master/data/alphabet.txt" fi