-
Notifications
You must be signed in to change notification settings - Fork 160
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
run_sbc won't sample from inferred Direct Posterior #1372
Comments
Hi @paarth-dudani thanks for reporting this. The
Cheers, |
Hi @janfb
I get this for other parallel estimates as well. What should I do? |
OK, good to know that posterior itself is fast to sample. Then it's indeed something within the Does this help? |
I am experiencing the same problem with the new version: No error message but the sampler won't sample |
OK, interesting! Can one of you please share a minimal code example? Or at least some details on the use-case, the sbi method, the hyperparameters etc? |
I have also just heard from another user that is experiencing this issue: slow sampling, but no warning. |
this was somebody else's issue that I tried to help with but will try to describe it here:
they report that at some dimensionality of parameter space (around 35), this problem arises where NPE trains, but is very slow to sample and no warnings. It does however produce samples, and is faster on higher end GPU, but still on the order of 10s per sample. manually the sampling the density estimator via:
samples much faster, basically "normal" speed. But we did not check extensively the quality of the samples, i.e., if some subset of the 50 parameters are often out of prior bounds. Not sure if its the same problem as the OP, since they report that sampling from the posterior is normal but SBC is slow, whereas here posterior sampling is slow. |
Describe the bug
I am trying to establish an SBC pipeline. I inferred a few independent SNPE estimates using concurrent futures. However, the run_sbc sampler won't sample from my inferred Direct Posterior.
To Reproduce
Versions
Python version: 3.9.13
SBI version: 0.23.1
Minimal code:
Code for context:
No error message but the sampler won't sample:
Expected behavior
Fast sampling
The text was updated successfully, but these errors were encountered: