Duplicated from XzJosh/badXT-Bert-VITS2-2.3
1cf1e13
1
2
3
4
5
6
import torch def get_bert_feature(norm_text, word2ph): return torch.zeros(1024, sum(word2ph))