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 'duration_discriminator_type' is redefined? #84

Open
5Hyeons opened this issue Mar 28, 2024 · 0 comments
Open

why 'duration_discriminator_type' is redefined? #84

5Hyeons opened this issue Mar 28, 2024 · 0 comments

Comments

@5Hyeons
Copy link

5Hyeons commented Mar 28, 2024

vits2_pytorch/train_ms.py

Lines 172 to 188 in 1f4f379

duration_discriminator_type = AVAILABLE_DURATION_DISCRIMINATOR_TYPES
if duration_discriminator_type == "dur_disc_1":
net_dur_disc = DurationDiscriminatorV1(
hps.model.hidden_channels,
hps.model.hidden_channels,
3,
0.1,
gin_channels=hps.model.gin_channels if hps.data.n_speakers != 0 else 0,
).cuda(rank)
elif duration_discriminator_type == "dur_disc_2":
net_dur_disc = DurationDiscriminatorV2(
hps.model.hidden_channels,
hps.model.hidden_channels,
3,
0.1,
gin_channels=hps.model.gin_channels if hps.data.n_speakers != 0 else 0,
).cuda(rank)

Due to this line, the net_dur_disc maintain None

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