XiJingPing_Voice / oldVersion /V101 /text /english_bert_mock.py
Julius8888's picture
Upload 226 files
42dddc6 verified
raw
history blame contribute delete
100 Bytes
import torch
def get_bert_feature(norm_text, word2ph):
return torch.zeros(1024, sum(word2ph))