mirror of
https://github.com/xiph/opus.git
synced 2025-05-16 08:28:29 +00:00
added LPCNet torch implementation
Signed-off-by: Jan Buethe <jbuethe@amazon.de>
This commit is contained in:
parent
90a171c1c2
commit
35ee397e06
38 changed files with 3200 additions and 0 deletions
22
dnn/torch/lpcnet/scripts/update_output_folder.sh
Normal file
22
dnn/torch/lpcnet/scripts/update_output_folder.sh
Normal file
|
@ -0,0 +1,22 @@
|
|||
#!/bin/bash
|
||||
|
||||
|
||||
case $# in
|
||||
3) FOLDER=$1; MODEL=$2; PYTHON=$3;;
|
||||
*) echo "update_output_folder.sh folder model python"; exit;;
|
||||
esac
|
||||
|
||||
|
||||
SCRIPTFOLDER=$(dirname "$0")
|
||||
|
||||
|
||||
# update setup
|
||||
echo "updating $FOLDER/setup.py..."
|
||||
$PYTHON $SCRIPTFOLDER/update_setups.py $FOLDER/setup.yml --model $MODEL
|
||||
|
||||
# update checkpoints
|
||||
for fn in $(find $FOLDER -type f -name "checkpoint*.pth")
|
||||
do
|
||||
echo "updating $fn..."
|
||||
$PYTHON $SCRIPTFOLDER/update_checkpoints.py $fn --model $MODEL
|
||||
done
|
Loading…
Add table
Add a link
Reference in a new issue