Skip to content

Is it possible to use SNLE with multi-dimensional/image data? #967

Answered by janfb
msainsburydale asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @msainsburydale, SNLE does not allow the use of embedding nets for x because it learns a density in x. It can only embed the parameters theta.

Is there a specific reason you want to use NVI? If not you could just use NPE which directly learns the posterior and allows embeddings in x. NPE is also fully amortized, i.e., after training you can obtain posterior estimates instantly without having to run VI or MCMC.

Alternatively, you could use NRE which allows to embed both, theta and x. With NRE you could then use VI or MCMC to obtain posterior samples.

I hope this helps.
Best,
Jan

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@msainsburydale
Comment options

@michaeldeistler
Comment options

@msainsburydale
Comment options

@michaeldeistler
Comment options

Answer selected by janfb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants