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

[BUG] in einops but impact to brouhaha model forward() #20

Closed
yoesak opened this issue May 9, 2024 · 1 comment
Closed

[BUG] in einops but impact to brouhaha model forward() #20

yoesak opened this issue May 9, 2024 · 1 comment

Comments

@yoesak
Copy link

yoesak commented May 9, 2024

I found in the brouhaha-vad using the einops and cause this error "AttributeError: 'PyanNet' object has no attribute 'example_output'", the solution is changing with the torch.permute() function,

def forward(self, x: torch.Tensor): .. out = rearrange(out, "n b t o -> b t (n o)") return out
`

how do I retrain the model (best.ckpt) with the new implementation?

this is the same is issue like in here

pyannote/pyannote-audio#1620

@MarvinLvn
Copy link
Collaborator

Should be solved by #21
Shout out to @ylacombe !

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

2 participants