Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TTS]add blank between characters for vits #2040

Merged
merged 1 commit into from
Jun 17, 2022

Conversation

yt605155624
Copy link
Collaborator

No description provided.

@yt605155624 yt605155624 requested a review from lym0302 June 16, 2022 07:20
@yt605155624 yt605155624 added this to the r1.1.0 milestone Jun 16, 2022
@yt605155624 yt605155624 mentioned this pull request Jun 16, 2022
result.append(phone)
if phone not in INITIALS:
# finals has tones
# assert phone[-1] in "12345"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

不要的注释可以删掉

@@ -227,11 +227,7 @@ def forward(
lids (Optional[Tensor]): Language index tensor (B,) or (B, 1).
forward_generator (bool): Whether to forward generator.
Returns:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

要是没有返回是不是可以删掉 Returns,要不就加上 return 的东西

@@ -227,11 +227,7 @@ def forward(
lids (Optional[Tensor]): Language index tensor (B,) or (B, 1).
forward_generator (bool): Whether to forward generator.
Returns:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

要是没有返回是不是可以删掉 Returns,要不就加上 return 的东西

@yt605155624 yt605155624 merged commit 0273414 into PaddlePaddle:develop Jun 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants