Merge 7d7c8a7ab997bb3103e5064e4d3c1d4a73a880cf into 7c43b41e6dc7eafcaf4d3b57aa7cb10c33d54488

This commit is contained in:
Ming 2024-07-30 16:17:13 +08:00 committed by GitHub
commit 4522a93494
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -506,7 +506,7 @@ class TTS:
# norm_text = item["norm_text"] # norm_text = item["norm_text"]
bert_max_len = max(bert_max_len, all_bert_features.shape[-1]) bert_max_len = max(bert_max_len, all_bert_features.shape[-1])
phones_max_len = max(phones_max_len, phones.shape[-1]) phones_max_len = max(phones_max_len, all_phones.shape[-1])
phones_list.append(phones) phones_list.append(phones)
phones_len_list.append(phones.shape[-1]) phones_len_list.append(phones.shape[-1])