正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -259,7 +259,7 @@ def compute_features(filename: str) -> torch.Tensor: | @@ -259,7 +259,7 @@ def compute_features(filename: str) -> torch.Tensor: | ||
| 259 | 259 | ||
| 260 | # We pad 50 frames at the end so that it is able to detect eot | 260 | # We pad 50 frames at the end so that it is able to detect eot |
| 261 | # You can use another value instead of 50. | 261 | # You can use another value instead of 50. |
| 262 | - mel = torch.nn.functional.pad(mel, (0, 0, 0, 50), "constant", 0) | 262 | + mel = torch.nn.functional.pad(mel, (0, 0, 0, 1000), "constant", 0) |
| 263 | # Note that if it throws for a multilingual model, | 263 | # Note that if it throws for a multilingual model, |
| 264 | # please use a larger value, say 300 | 264 | # please use a larger value, say 300 |
| 265 | 265 |
-
请 注册 或 登录 后发表评论