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

why set uv = f0 = 0 in norm_interp_f0? #47

Closed
Cescfangs opened this issue Apr 1, 2022 · 1 comment
Closed

why set uv = f0 = 0 in norm_interp_f0? #47

Cescfangs opened this issue Apr 1, 2022 · 1 comment

Comments

@Cescfangs
Copy link

def norm_interp_f0(f0, hparams):
is_torch = isinstance(f0, torch.Tensor)
if is_torch:
device = f0.device
f0 = f0.data.cpu().numpy()
uv = f0 == 0
f0 = norm_f0(f0, uv, hparams)

Hey guys I found you set uv = f0 = 0 at line 50, what's the intension behind this? Is that a typo or I miss something really important?

@Cescfangs
Copy link
Author

sorry I've missed another "="

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

1 participant