summaryrefslogtreecommitdiff
path: root/mix.sh
diff options
context:
space:
mode:
authorjules@lens <julescarbon@gmail.com>2018-06-16 11:53:41 +0200
committerjules@lens <julescarbon@gmail.com>2018-06-16 11:53:41 +0200
commit4c7ec7996256844a90b2187a3fea40a7e037b161 (patch)
tree9b029688190e5d2d644e4d8612749df92c00bf8d /mix.sh
parent410afb65bc350242d5ba248fb6a082db4d14e23b (diff)
needed to install LAME!
Diffstat (limited to 'mix.sh')
-rwxr-xr-xmix.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/mix.sh b/mix.sh
index 48e499b..484e750 100755
--- a/mix.sh
+++ b/mix.sh
@@ -1,14 +1,15 @@
#!/bin/bash
-if [ "$#" -ne 4 ]; then
- echo "Usage: $0 <results/exp\:experiment> render_name endpoint epoch"
+if [ "$#" -ne 5 ]; then
+ echo "Usage: $0 <results/exp\:experiment> render_name endpoint dataset epoch"
exit
fi
dir=$1
name=$2
endpoint=$3
-epoch=$4
+dataset=$4
+epoch=$5
now=`date +'%Y%m%d'`
echo "rendering $name"
@@ -33,6 +34,7 @@ else
-F "module=samplernn" \
-F "activity=train" \
-F "generated=true" \
+ -F "dataset=$dataset" \
-F "epoch=$epoch" \
-F "file=@./output/$name.mp3" \
$endpoint