Mercurial > hg > silvet
diff testdata/evaluation/run-piano.sh @ 271:10d8bd634a77
Docs, fix to temporary file removal in test script
author | Chris Cannam |
---|---|
date | Sat, 26 Jul 2014 10:18:01 +0100 |
parents | 40684b5dd478 |
children | bcfdaa708992 |
line wrap: on
line diff
--- a/testdata/evaluation/run-piano.sh Wed Jul 23 18:36:41 2014 +0100 +++ b/testdata/evaluation/run-piano.sh Sat Jul 26 10:18:01 2014 +0100 @@ -42,7 +42,7 @@ transfile="/tmp/$$transform.ttl" -trap 'rm -f "$outfile" "$tmpwav" "$instfile" "$transfile" "$outfile.lab"' 0 +trap 'rm -f "$outfile" "$tmpwav" "$transfile" "$reference.lab" "$outfile.lab"' 0 infiles=$(find "$piano_path" -name \*.wav | sort) @@ -114,8 +114,6 @@ echo "Validating against ground truth at $ms ms:" egrep '(^[0-9]\.)|(^[012][0-9]\.)' "../piano-groundtruth/$filename.lab" > "$reference.lab" "$yc" ../scripts/evaluate_lab.yeti "$ms" "$reference.lab" "$outfile.lab" | sed 's,$,'"$mark"',' - cp "$reference.lab" /tmp/reference.lab - cp "$outfile.lab" /tmp/detected.lab done; echo done