test_compute_statistics.sh

This commit is contained in:
Eren Gölge
2021-03-08 02:54:47 +01:00
committed by Eren Gölge
parent 49771f2541
commit a2e7403ae8
3 changed files with 9 additions and 1 deletions
+1
View File
@@ -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
+1 -1
View File
@@ -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
+7
View File
@@ -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