diff --git a/run_tests.sh b/run_tests.sh index abfc53d4..003bfe41 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -12,6 +12,7 @@ nosetests tests -x &&\ ./tests/test_vocoder_wavernn_train.sh && \ ./tests/test_vocoder_wavegrad_train.sh && \ ./tests/test_speedy_speech_train.sh && \ +./tests/test_compute_statistics.sh && \ # linter check cardboardlinter --refspec master \ No newline at end of file diff --git a/setup.py b/setup.py index d4c1ef1d..9bac024a 100644 --- a/setup.py +++ b/setup.py @@ -33,7 +33,7 @@ args, unknown_args = parser.parse_known_args() # Remove our arguments from argv so that setuptools doesn't see them sys.argv = [sys.argv[0]] + unknown_args -version = '0.0.9.2' +version = '0.0.10' cwd = os.path.dirname(os.path.abspath(__file__)) # Handle Cython code diff --git a/tests/test_compute_statistics.sh b/tests/test_compute_statistics.sh new file mode 100755 index 00000000..c2b32282 --- /dev/null +++ b/tests/test_compute_statistics.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash +set -xe +BASEDIR=$(dirname "$0") +echo "$BASEDIR" +# run training +CUDA_VISIBLE_DEVICES="" python TTS/bin/compute_statistics.py --config_path $BASEDIR/inputs/test_glow_tts.json --out_path $BASEDIR/outputs/scale_stats.npy +