diff --git a/data_utils.py b/data_utils.py index fb685aa34..82ad068fe 100644 --- a/data_utils.py +++ b/data_utils.py @@ -156,7 +156,7 @@ def get_text(self, text, word2ph, phone, tone, language_str, wav_path): elif language_str == "JP": bert = torch.load(bert_path) bert = get_bert_train(text_normalize(text), bert, word2ph, tokenizer) - assert bert.shape[-1] == len(phone), f"length of phonemes does not match input length of bert:{phone}, {bert.shape}" + #assert bert.shape[-1] == len(phone), f"length of phonemes does not match input length of bert:{phone}, {bert.shape}" except Exception as e: print("Bert load failed!", e) if language_str == "ZH":