From ad235f0481fba280807f777d1262267518bfd02a Mon Sep 17 00:00:00 2001 From: erogol Date: Sun, 12 Jul 2020 15:37:10 +0200 Subject: [PATCH] update test server_config and mitigate https://github.com/librosa/librosa/issues/1160 in server package test --- tests/inputs/server_config.json | 2 +- tests/test_server_package.sh | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/inputs/server_config.json b/tests/inputs/server_config.json index 9eb7f09f..0cb9b948 100644 --- a/tests/inputs/server_config.json +++ b/tests/inputs/server_config.json @@ -6,7 +6,7 @@ "wavernn_file": null, // wavernn checkpoint file name "wavernn_config": null, // wavernn config file "vocoder_config":null, - "vocoder_file": null, + "vocoder_checkpoint": null, "is_wavernn_batched":true, "port": 5002, "use_cuda": false, diff --git a/tests/test_server_package.sh b/tests/test_server_package.sh index 9fe5e8b1..83ffc6f0 100755 --- a/tests/test_server_package.sh +++ b/tests/test_server_package.sh @@ -14,6 +14,9 @@ rm -f dist/*.whl python setup.py --quiet bdist_wheel --checkpoint tests/outputs/checkpoint_10.pth.tar --model_config tests/outputs/dummy_model_config.json pip install --quiet dist/TTS*.whl +# this is related to https://github.com/librosa/librosa/issues/1160 +pip install numba==0.48 + python -m TTS.server.server & SERVER_PID=$!