Skip to content

[WIP] Zwf training modifications (for reference) #178

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

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

Conversation

sjkoelle
Copy link
Contributor

@sjkoelle sjkoelle commented Sep 7, 2023

No description provided.

@sjkoelle sjkoelle changed the title Zwf training modifications [WIP] Zwf training modifications (for reference) Sep 7, 2023
@@ -148,7 +135,8 @@ def __init__(
)
self.n_speaker_dim = n_speaker_dim
assert self.n_speaker_dim % 2 == 0
self.speaker_embedding = torch.nn.Embedding(n_speakers, self.n_speaker_dim)
if n_speakers > 0:
Copy link
Contributor Author

@sjkoelle sjkoelle Sep 7, 2023

Choose a reason for hiding this comment

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

Let's be careful since this retroactively breaks code at load time while not changing performance. Would rather put an assert in initialization. Would make more sense to flag based on "is_zero_shot".

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

Successfully merging this pull request may close these issues.

None yet

2 participants