config update

pull/10/head
Eren Golge 2019-03-21 18:34:26 +01:00
parent ff7258062c
commit d6307fbb7f
3 changed files with 6 additions and 5 deletions

View File

@ -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
yes | apt-get install espeak
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/
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/

View File

@ -1,6 +1,6 @@
{
"run_name": "nancy-bn",
"run_description": "Nancy tacotron2 from scratch BN",
"run_description": "Finetune 4378. No ending character ^.",
"audio":{
// Audio processing parameters

View File

@ -44,7 +44,8 @@ def phoneme_to_sequence(text, cleaner_names, language):
'''
TODO: This ignores punctuations
'''
sequence = [_phonemes_to_id['^']]
# sequence = [_phonemes_to_id['^']]
sequence = []
clean_text = _clean_text(text, cleaner_names)
phonemes = text2phone(clean_text, language)
# print(phonemes.replace('|', ''))
@ -81,7 +82,7 @@ def text_to_sequence(text, cleaner_names):
List of integers corresponding to the symbols in the text
'''
sequence = []
sequence = [_phonemes_to_id['^']]
# sequence = [_phonemes_to_id['^']]
# Check for curly braces and treat their contents as ARPAbet:
while len(text):
m = _curly_re.match(text)