mirror of https://github.com/coqui-ai/TTS.git
Fix style
This commit is contained in:
parent
6bebfd2e64
commit
d00327d608
|
@ -48,8 +48,6 @@ run_cli(command_train)
|
||||||
continue_path = max(glob.glob(os.path.join(output_path, "*/")), key=os.path.getmtime)
|
continue_path = max(glob.glob(os.path.join(output_path, "*/")), key=os.path.getmtime)
|
||||||
|
|
||||||
# restore the model and continue training for one more epoch
|
# restore the model and continue training for one more epoch
|
||||||
command_train = (
|
command_train = f"CUDA_VISIBLE_DEVICES='{get_device_id()}' python TTS/bin/train_tts.py --continue_path {continue_path} "
|
||||||
f"CUDA_VISIBLE_DEVICES='{get_device_id()}' python TTS/bin/train_tts.py --continue_path {continue_path} "
|
|
||||||
)
|
|
||||||
run_cli(command_train)
|
run_cli(command_train)
|
||||||
shutil.rmtree(continue_path)
|
shutil.rmtree(continue_path)
|
||||||
|
|
Loading…
Reference in New Issue