mirror of
https://github.com/wassname/TTS.git
synced 2026-10-28 12:41:20 +08:00
change python3 to python in the extract tts espectrograms script to avoid incompatibility
This commit is contained in:
1 parent
65860a954a
commit
070227d2ab
1 file changed
+3
-3
@@ -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}"')
|
||||
Reference in new issue
Block a user