diff --git a/data_utils.py b/data_utils.py index 4dba9e2ab..f807ad733 100644 --- a/data_utils.py +++ b/data_utils.py @@ -147,9 +147,9 @@ def get_text(self, text, word2ph, phone, tone, language_str, wav_path): bert_path = wav_path.replace(".wav", ".bert.pt") try: bert = torch.load(bert_path) - except: - bert = get_bert(text, word2ph, language_str, "cuda", tokenizer) - torch.save(bert, bert_path) + #except: + # bert = get_bert(text, word2ph, language_str, "cuda", tokenizer) + # torch.save(bert, bert_path) if language_str == "ZH": bert = bert