Skip to content

Commit

Permalink
OnnxModule BugFix (2.4_ZH)
Browse files Browse the repository at this point in the history
  • Loading branch information
NaruseMioShirakana authored Feb 28, 2024
1 parent f444516 commit d0550cf
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 @@ -965,7 +965,7 @@ def export_onnx(
language = torch.zeros_like(x).cpu()
x_lengths = torch.LongTensor([x.shape[1]]).cpu()
sid = torch.LongTensor([0]).cpu()
bert = torch.randn(size=(x.shape[1], 1024)).cpu()
bert = torch.randn(size=(x.shape[1], 2048)).cpu()
emo = torch.randn(512, 1)

if self.n_speakers > 0:
Expand Down

0 comments on commit d0550cf

Please sign in to comment.