-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved signal augmentation tests to own test config
- Loading branch information
1 parent
96caa2d
commit ac9a17d
Showing
3 changed files
with
40 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/bin/bash | ||
|
||
set -xe | ||
|
||
source $(dirname "$0")/tc-tests-utils.sh | ||
|
||
extract_python_versions "$1" "pyver" "pyver_pkg" "py_unicode_type" "pyconf" "pyalias" | ||
|
||
ds=$2 | ||
|
||
mkdir -p ${TASKCLUSTER_ARTIFACTS} || true | ||
mkdir -p /tmp/train || true | ||
mkdir -p /tmp/train_tflite || true | ||
|
||
virtualenv_activate "${pyalias}" "deepspeech" | ||
|
||
set -o pipefail | ||
pip install --upgrade pip==19.3.1 setuptools==45.0.0 wheel==0.33.6 | cat | ||
pushd ${HOME}/DeepSpeech/ds | ||
pip install --upgrade . | cat | ||
popd | ||
set +o pipefail | ||
|
||
pushd ${HOME}/DeepSpeech/ds/ | ||
time ./bin/run-tc-signal_augmentations.sh | ||
popd | ||
|
||
virtualenv_deactivate "${pyalias}" "deepspeech" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
taskcluster/test-signal_augmentations-linux-amd64-py36m-opt.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
build: | ||
template_file: test-linux-opt-base.tyml | ||
dependencies: | ||
- "linux-amd64-ctc-opt" | ||
system_setup: | ||
> | ||
apt-get -qq update && apt-get -qq -y install ${training.packages_trusty.apt} | ||
args: | ||
tests_cmdline: "${system.homedir.linux}/DeepSpeech/ds/taskcluster/tc-signal_augmentation-tests.sh 3.6.10:m" | ||
metadata: | ||
name: "DeepSpeech Linux AMD64 CPU signal augmentations Py3.6" | ||
description: "Augmenting LDC93S1 sample in different ways for Linux/AMD64 16kHz Python 3.6, CPU only, optimized version" |