mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-08 09:32:20 +00:00
minor fixes to the vits onnx exportation scripts (#1408)
This commit is contained in:
parent
e9ec827de7
commit
df56aff31e
@ -115,8 +115,8 @@ class OnnxModel(nn.Module):
|
||||
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
|
||||
|
||||
|
@ -121,9 +121,9 @@ class OnnxModel(nn.Module):
|
||||
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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user