Skip to content

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.

2 participants