DZ-Bert-VITS2-2.3 / oldVersion /V101 /text /english_bert_mock.py
XzJosh's picture
Upload 180 files
1cf1e13
raw
history blame
No virus
100 Bytes
import torch
def get_bert_feature(norm_text, word2ph):
return torch.zeros(1024, sum(word2ph))