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

Random start index in WeightDataset #9

Open
v-nhandt21 opened this issue Jan 11, 2022 · 0 comments
Open

Random start index in WeightDataset #9

v-nhandt21 opened this issue Jan 11, 2022 · 0 comments

Comments

@v-nhandt21
Copy link

v-nhandt21 commented Jan 11, 2022

At this line:

start_index = random.randint(0, len_data - hparams.fixed_length - 1)

If the input mel size smaller than fix-length, the random raise issue, I have try except to pass these short audios, but I just wonder it is handle in collate.

More than that, the segment size as I found in hifigan is 32, but in basic-melgan it (fix-length) is set to 140. Are there any difference between the 140 for biaobei and the one for LJspeech

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