diff --git a/.compute b/.compute index 7978efd3..6b54f612 100644 --- a/.compute +++ b/.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 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/ \ No newline at end of file diff --git a/config_cluster.json b/config_cluster.json index d810a6a3..4d330bd5 100644 --- a/config_cluster.json +++ b/config_cluster.json @@ -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 diff --git a/utils/text/__init__.py b/utils/text/__init__.py index 464a7ac9..6d513cc5 100644 --- a/utils/text/__init__.py +++ b/utils/text/__init__.py @@ -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)