test_compute_statistics.sh

pull/367/head
Eren Gölge 2021-02-09 14:24:58 +00:00 committed by Eren Gölge
parent 49771f2541
commit a2e7403ae8
3 changed files with 9 additions and 1 deletions

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

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

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