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

NPE raises warning not error when conditioned on batched x without embedding net. #1261

Closed
janfb opened this issue Sep 4, 2024 · 0 comments · Fixed by #1262
Closed

NPE raises warning not error when conditioned on batched x without embedding net. #1261

janfb opened this issue Sep 4, 2024 · 0 comments · Fixed by #1262
Assignees
Labels
bug Something isn't working

Comments

@janfb
Copy link
Contributor

janfb commented Sep 4, 2024

A trained DirectPosterior based on NPE without embedding nets will only issue a warning about iid shapes when conditioned on x with batch shape >1. However, it should raise an error, unless it was trained with an appropriate permutation invariant embedding net, or unless sample_batched is called.

@janfb janfb added the bug Something isn't working label Sep 4, 2024
@janfb janfb self-assigned this Sep 4, 2024
@janfb janfb linked a pull request Sep 4, 2024 that will close this issue
@janfb janfb closed this as completed in c33a855 Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant