From 070227d2ab551fd3a839afac4d97c454446bd913 Mon Sep 17 00:00:00 2001 From: Edresson Date: Thu, 6 May 2021 11:32:42 -0300 Subject: [PATCH] change python3 to python in the extract tts espectrograms script to avoid incompatibility --- tests/test_extract_tts_spectrograms.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_extract_tts_spectrograms.py b/tests/test_extract_tts_spectrograms.py index 618d7b64..65db9c0e 100644 --- a/tests/test_extract_tts_spectrograms.py +++ b/tests/test_extract_tts_spectrograms.py @@ -30,7 +30,7 @@ class TestExtractTTSSpectrograms(unittest.TestCase): # save model torch.save({"model": model.state_dict()}, checkpoint_path) # run test - run_cli(f'CUDA_VISIBLE_DEVICES="" python3 TTS/bin/extract_tts_spectrograms.py --config_path "{config_path}" --checkpoint_path "{checkpoint_path}" --output_path "{output_path}"') + run_cli(f'CUDA_VISIBLE_DEVICES="" python TTS/bin/extract_tts_spectrograms.py --config_path "{config_path}" --checkpoint_path "{checkpoint_path}" --output_path "{output_path}"') run_cli(f'rm -rf "{output_path}" "{checkpoint_path}"') @staticmethod def test_Tacotron2(): @@ -46,7 +46,7 @@ class TestExtractTTSSpectrograms(unittest.TestCase): # save model torch.save({"model": model.state_dict()}, checkpoint_path) # run test - run_cli(f'CUDA_VISIBLE_DEVICES="" python3 TTS/bin/extract_tts_spectrograms.py --config_path "{config_path}" --checkpoint_path "{checkpoint_path}" --output_path "{output_path}"') + run_cli(f'CUDA_VISIBLE_DEVICES="" python TTS/bin/extract_tts_spectrograms.py --config_path "{config_path}" --checkpoint_path "{checkpoint_path}" --output_path "{output_path}"') run_cli(f'rm -rf "{output_path}" "{checkpoint_path}"') @staticmethod def test_Tacotron(): @@ -62,5 +62,5 @@ class TestExtractTTSSpectrograms(unittest.TestCase): # save model torch.save({"model": model.state_dict()}, checkpoint_path) # run test - run_cli(f'CUDA_VISIBLE_DEVICES="" python3 TTS/bin/extract_tts_spectrograms.py --config_path "{config_path}" --checkpoint_path "{checkpoint_path}" --output_path "{output_path}"') + run_cli(f'CUDA_VISIBLE_DEVICES="" python TTS/bin/extract_tts_spectrograms.py --config_path "{config_path}" --checkpoint_path "{checkpoint_path}" --output_path "{output_path}"') run_cli(f'rm -rf "{output_path}" "{checkpoint_path}"')