-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
self conditioning not working (size mismatch) #35
Comments
@inspirit ah, thanks for uncovering this how about 0.4.4? |
you forgot to put 'sum' argument to 'reduce' call :) |
ohh, and btw there is a special case when 'generate' is called because you will get 'null_embed' at the first iteration which is just [dim] shape/size |
probably smth like:
should do the trick |
@inspirit ok done does self conditioning work for you? haven't heard of many people using it |
i just started digging it for one of my projects with Residual Quantizers, so too early to comment, was validating that all works after incorporating it to my pipeline and found this issue, so might be completely useless in the end :) |
When enabling self_cond there is size mismatch when trying to sum embeds:
soundstorm-pytorch/soundstorm_pytorch/soundstorm.py
Line 582 in 08a5e20
this happens because 'sum_embeds' tensor is not reduced as it was projected to:
so 'sum_embeds' is actually 'b (n h) d' while 'x' is 'b n d'
The text was updated successfully, but these errors were encountered: