Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
NaruseMioShirakana authored Feb 28, 2024
1 parent 3ffe36b commit 6ad6ea5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion onnx_modules/V240_ZH/models_onnx.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ def __init__(
def forward(self, x, x_lengths, tone, language, bert, emo, g=None):
x_mask = torch.ones_like(x).unsqueeze(0)
bert_emb = self.bert_proj(self.bert_pre_proj(bert.transpose(0, 1).unsqueeze(0))).transpose(1, 2)
emo_emb = self.in_feature_net(emo)
emo_emb = self.in_feature_net(emo.transpose(0, 1))
emo_emb, _, _ = self.emo_vq(emo_emb.unsqueeze(1))
emo_emb = self.out_feature_net(emo_emb)
x = (
Expand Down

0 comments on commit 6ad6ea5

Please sign in to comment.