Skip to content

Batch learning #1193

Answered by michaeldeistler
Kojobu asked this question in Q&A
Jul 16, 2024 · 5 comments · 1 reply
Discussion options

You must be logged in to vote

Hi there,

thanks for reaching out!

2.5.: See here for how to save and load posteriors.
3. If you are on GPU, then do append_simulations(..., data_device="cpu"), see here. Removing data is not easily supported, but you could remove the data from the ._theta_roundwise, ._x_roundwise, and ._prior_masks_roundwise, see here. Writing your own training loop is possible only if you are working on the github version of sbi. This is not released on pypi yet. Here is a tutorial on how to do that.

Michael

Replies: 5 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@Kojobu
Comment options

Answer selected by Kojobu
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
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