-
Notifications
You must be signed in to change notification settings - Fork 158
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
vi failing with independent prior #650
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I also created an issue #651
You could also mark the test as |
Alternatively, we mark it as |
I'm against the |
23b400f
to
578b7a9
Compare
578b7a9
to
08b25f7
Compare
Okey, the problem is that the I tried to fix the |
@janfb @manuelgloeckler can you have a look? |
Thanks for tackling this! |
I don't know how we would do this unfortunately. The |
this adds a test showing a failure mode of VI:
When sampling from a
VIPosterior
based on aMultipleIndependent
prior there is a problem with thetheta_transform
and thevi_pyro_flows
. I think it has to do with change in dimensionality from transformed to untransformed space, .e.g., it happens when callinglink_flow(torch.zeros(event_shape, device=device))
(see trace below). Potential problem: Why is this called with just theevent_shape
and not the entiretheta.shape
?track: