File tree Expand file tree Collapse file tree 6 files changed +26
-18
lines changed Expand file tree Collapse file tree 6 files changed +26
-18
lines changed Original file line number Diff line number Diff line change 11include README.md
22include LICENSE.txt
33include requirements.*.txt
4+ include requirements.txt
45include TTS/VERSION
56recursive-include TTS *.json
67recursive-include TTS *.html
Original file line number Diff line number Diff line change @@ -34,6 +34,9 @@ dev-deps: ## install development deps
3434doc-deps : # # install docs dependencies
3535 pip install -r docs/requirements.txt
3636
37+ build-docs : # # build the docs
38+ cd docs && make clean && make build
39+
3740hub-deps : # # install deps for torch hub use
3841 pip install -r requirements.hub.txt
3942
Original file line number Diff line number Diff line change 5151 "vctk" :{
5252 "sc-glow-tts" : {
5353 "description" : " Multi-Speaker Transformers based SC-Glow model from https://arxiv.org/abs/2104.05557." ,
54- "github_rls_url" : " https://github.com/coqui-ai/TTS/releases/download/v0.1.0/tts_models--en--vctk--sc-glowtts-transformer .zip" ,
54+ "github_rls_url" : " https://github.com/coqui-ai/TTS/releases/download/v0.1.0/tts_models--en--vctk--sc-glow-tts .zip" ,
5555 "default_vocoder" : " vocoder_models/en/vctk/hifigan_v2" ,
5656 "commit" : " b531fa69" ,
5757 "author" : " Edresson Casanova" ,
Original file line number Diff line number Diff line change 1- 0.1.0
1+ 0.1.1
Original file line number Diff line number Diff line change @@ -11,11 +11,15 @@ def is_apex_available():
1111
1212
1313def setup_torch_training_env (cudnn_enable , cudnn_benchmark ):
14+ num_gpus = torch .cuda .device_count ()
15+ if num_gpus > 1 :
16+ raise RuntimeError (
17+ f" [!] { num_gpus } active GPUs. Define the target GPU by `CUDA_VISIBLE_DEVICES`. For multi-gpu training use `TTS/bin/distribute.py`."
18+ )
1419 torch .backends .cudnn .enabled = cudnn_enable
1520 torch .backends .cudnn .benchmark = cudnn_benchmark
1621 torch .manual_seed (54321 )
1722 use_cuda = torch .cuda .is_available ()
18- num_gpus = torch .cuda .device_count ()
1923 print (" > Using CUDA: " , use_cuda )
2024 print (" > Number of GPUs: " , num_gpus )
2125 return use_cuda , num_gpus
Original file line number Diff line number Diff line change @@ -10,19 +10,19 @@ def test_synthesize():
1010
1111 # single speaker model
1212 run_cli (f'tts --text "This is an example." --out_path "{ output_path } "' )
13- # run_cli(
14- # "tts --model_name tts_models/en/ljspeech/speedy-speech-wn "
15- # f'--text "This is an example." --out_path "{output_path}"'
16- # )
17- # run_cli(
18- # "tts --model_name tts_models/en/ljspeech/speedy-speech-wn "
19- # "--vocoder_name vocoder_models/en/ljspeech/multiband-melgan "
20- # f'--text "This is an example." --out_path "{output_path}"'
21- # )
13+ run_cli (
14+ "tts --model_name tts_models/en/ljspeech/speedy-speech-wn "
15+ f'--text "This is an example." --out_path "{ output_path } "'
16+ )
17+ run_cli (
18+ "tts --model_name tts_models/en/ljspeech/speedy-speech-wn "
19+ "--vocoder_name vocoder_models/en/ljspeech/multiband-melgan "
20+ f'--text "This is an example." --out_path "{ output_path } "'
21+ )
2222
23- # # multi-speaker model
24- # run_cli("tts --model_name tts_models/en/vctk/sc-glow-tts --list_speaker_idxs")
25- # run_cli(
26- # f'tts --model_name tts_models/en/vctk/sc-glow-tts --speaker_idx "p304" '
27- # f'--text "This is an example." --out_path "{output_path}"'
28- # )
23+ # multi-speaker model
24+ run_cli ("tts --model_name tts_models/en/vctk/sc-glow-tts --list_speaker_idxs" )
25+ run_cli (
26+ f'tts --model_name tts_models/en/vctk/sc-glow-tts --speaker_idx "p304" '
27+ f'--text "This is an example." --out_path "{ output_path } "'
28+ )
You can’t perform that action at this time.
0 commit comments