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

Questions about Differentiable Duration Modeling #264

Open
RoversCode opened this issue Jul 3, 2024 · 1 comment
Open

Questions about Differentiable Duration Modeling #264

RoversCode opened this issue Jul 3, 2024 · 1 comment

Comments

@RoversCode
Copy link

In the paper, the final formula for the model is
381C7CA2-3E38-4E06-AEF0-80E39D01A8B2
However, the Gaussian kernel is written as follows in the code.

loc = torch.cumsum(_dur_pred, dim=0) - _dur_pred / 2
h = torch.exp(
    -0.5 * torch.square(t - (l - loc.unsqueeze(-1))) / (1.5) ** 2
)

Why is it t - (l - loc.unsqueeze(-1)) and not t - l - loc.unsqueeze(-1) ? It seems that this does not match the formula shown in the paper. I would like to know the reason and hope to get some replies. Thank you.

@brthor
Copy link

brthor commented Jul 3, 2024

I have found a few aspects that do not match the paper. It seems this is from a research codebase that is likely evolving quickly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants