opus/dnn/autogen.sh
Jean-Marc Valin 4f2caa35f0 Update model
Also providing links to suitable training data
2021-08-02 19:02:29 -04:00

19 lines
487 B
Bash
Executable file

#!/bin/sh
# Run this to set up the build system: configure, makefiles, etc.
set -e
srcdir=`dirname $0`
test -n "$srcdir" && cd "$srcdir"
#SHA1 of the first commit compatible with the current model
commit=2d22197
if [ ! -f lpcnet_data-$commit.tar.gz ]; then
echo "Downloading latest model"
wget https://media.xiph.org/lpcnet/data/lpcnet_data-$commit.tar.gz
fi
tar xvf lpcnet_data-$commit.tar.gz
echo "Updating build configuration files for lpcnet, please wait...."
autoreconf -isf