Skip to content

Commit

Permalink
minor fixes to the vits onnx exportation scripts (#1408)
Browse files Browse the repository at this point in the history
  • Loading branch information
JinZr authored Dec 8, 2023
1 parent e9ec827 commit df56aff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion egs/ljspeech/TTS/vits/export-onnx.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ def forward(
tokens: torch.Tensor,
tokens_lens: torch.Tensor,
noise_scale: float = 0.667,
noise_scale_dur: float = 0.8,
alpha: float = 1.0,
noise_scale_dur: float = 0.8,
) -> Tuple[torch.Tensor, torch.Tensor]:
"""Please see the help information of VITS.inference_batch
Expand Down
2 changes: 1 addition & 1 deletion egs/vctk/TTS/vits/export-onnx.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,9 @@ def forward(
tokens: torch.Tensor,
tokens_lens: torch.Tensor,
noise_scale: float = 0.667,
alpha: float = 1.0,
noise_scale_dur: float = 0.8,
speaker: int = 20,
alpha: float = 1.0,
) -> Tuple[torch.Tensor, torch.Tensor]:
"""Please see the help information of VITS.inference_batch
Expand Down

0 comments on commit df56aff

Please sign in to comment.