diff options
| author | jules@lens <julescarbon@gmail.com> | 2018-06-15 22:33:10 +0200 |
|---|---|---|
| committer | jules@lens <julescarbon@gmail.com> | 2018-06-15 22:33:10 +0200 |
| commit | 410afb65bc350242d5ba248fb6a082db4d14e23b (patch) | |
| tree | 54c81f57c2df520bf5ac18af6f049b8bf1b63e19 /mix.sh | |
| parent | 1208f28342ad8770a4b45a1164227afef14f7f30 (diff) | |
pass thru epoch
Diffstat (limited to 'mix.sh')
| -rwxr-xr-x | mix.sh | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,13 +1,14 @@ #!/bin/bash -if [ "$#" -ne 3 ]; then - echo "Usage: $0 <results/exp\:experiment> render_name endpoint" +if [ "$#" -ne 4 ]; then + echo "Usage: $0 <results/exp\:experiment> render_name endpoint epoch" exit fi dir=$1 name=$2 endpoint=$3 +epoch=$4 now=`date +'%Y%m%d'` echo "rendering $name" @@ -32,6 +33,7 @@ else -F "module=samplernn" \ -F "activity=train" \ -F "generated=true" \ + -F "epoch=$epoch" \ -F "file=@./output/$name.mp3" \ $endpoint fi |
