mirror of https://github.com/coqui-ai/TTS.git
config update
This commit is contained in:
parent
ff7258062c
commit
d6307fbb7f
2
.compute
2
.compute
|
@ -3,5 +3,5 @@ ls ${SHARED_DIR}/data/
|
||||||
pip3 install https://download.pytorch.org/whl/cu100/torch-1.0.1.post2-cp36-cp36m-linux_x86_64.whl
|
pip3 install https://download.pytorch.org/whl/cu100/torch-1.0.1.post2-cp36-cp36m-linux_x86_64.whl
|
||||||
yes | apt-get install espeak
|
yes | apt-get install espeak
|
||||||
python3 setup.py develop
|
python3 setup.py develop
|
||||||
python3 distribute.py --config_path config_cluster.json --data_path ${SHARED_DIR}/data/Blizzard/Nancy/ --restore_path ${USER_DIR}/best_model_4258.pth.tar
|
python3 distribute.py --config_path config_cluster.json --data_path ${SHARED_DIR}/data/Blizzard/Nancy/ --restore_path ${USER_DIR}/checkpoint_187000_4378.pth.tar
|
||||||
# python3 distribute.py --config_path config_cluster.json --data_path ${SHARED_DIR}/data/Blizzard/Nancy/
|
# python3 distribute.py --config_path config_cluster.json --data_path ${SHARED_DIR}/data/Blizzard/Nancy/
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"run_name": "nancy-bn",
|
"run_name": "nancy-bn",
|
||||||
"run_description": "Nancy tacotron2 from scratch BN",
|
"run_description": "Finetune 4378. No ending character ^.",
|
||||||
|
|
||||||
"audio":{
|
"audio":{
|
||||||
// Audio processing parameters
|
// Audio processing parameters
|
||||||
|
|
|
@ -44,7 +44,8 @@ def phoneme_to_sequence(text, cleaner_names, language):
|
||||||
'''
|
'''
|
||||||
TODO: This ignores punctuations
|
TODO: This ignores punctuations
|
||||||
'''
|
'''
|
||||||
sequence = [_phonemes_to_id['^']]
|
# sequence = [_phonemes_to_id['^']]
|
||||||
|
sequence = []
|
||||||
clean_text = _clean_text(text, cleaner_names)
|
clean_text = _clean_text(text, cleaner_names)
|
||||||
phonemes = text2phone(clean_text, language)
|
phonemes = text2phone(clean_text, language)
|
||||||
# print(phonemes.replace('|', ''))
|
# print(phonemes.replace('|', ''))
|
||||||
|
@ -81,7 +82,7 @@ def text_to_sequence(text, cleaner_names):
|
||||||
List of integers corresponding to the symbols in the text
|
List of integers corresponding to the symbols in the text
|
||||||
'''
|
'''
|
||||||
sequence = []
|
sequence = []
|
||||||
sequence = [_phonemes_to_id['^']]
|
# sequence = [_phonemes_to_id['^']]
|
||||||
# Check for curly braces and treat their contents as ARPAbet:
|
# Check for curly braces and treat their contents as ARPAbet:
|
||||||
while len(text):
|
while len(text):
|
||||||
m = _curly_re.match(text)
|
m = _curly_re.match(text)
|
||||||
|
|
Loading…
Reference in New Issue