mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-09-07 08:04:18 +00:00
minor fixes
This commit is contained in:
parent
e9ec827de7
commit
e748d95a70
@ -115,8 +115,8 @@ class OnnxModel(nn.Module):
|
|||||||
tokens: torch.Tensor,
|
tokens: torch.Tensor,
|
||||||
tokens_lens: torch.Tensor,
|
tokens_lens: torch.Tensor,
|
||||||
noise_scale: float = 0.667,
|
noise_scale: float = 0.667,
|
||||||
noise_scale_dur: float = 0.8,
|
|
||||||
alpha: float = 1.0,
|
alpha: float = 1.0,
|
||||||
|
noise_scale_dur: float = 0.8,
|
||||||
) -> Tuple[torch.Tensor, torch.Tensor]:
|
) -> Tuple[torch.Tensor, torch.Tensor]:
|
||||||
"""Please see the help information of VITS.inference_batch
|
"""Please see the help information of VITS.inference_batch
|
||||||
|
|
||||||
|
@ -121,9 +121,9 @@ class OnnxModel(nn.Module):
|
|||||||
tokens: torch.Tensor,
|
tokens: torch.Tensor,
|
||||||
tokens_lens: torch.Tensor,
|
tokens_lens: torch.Tensor,
|
||||||
noise_scale: float = 0.667,
|
noise_scale: float = 0.667,
|
||||||
|
alpha: float = 1.0,
|
||||||
noise_scale_dur: float = 0.8,
|
noise_scale_dur: float = 0.8,
|
||||||
speaker: int = 20,
|
speaker: int = 20,
|
||||||
alpha: float = 1.0,
|
|
||||||
) -> Tuple[torch.Tensor, torch.Tensor]:
|
) -> Tuple[torch.Tensor, torch.Tensor]:
|
||||||
"""Please see the help information of VITS.inference_batch
|
"""Please see the help information of VITS.inference_batch
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user