From 7009aeb379d51ba38d52df7953ceada162d6d3e4 Mon Sep 17 00:00:00 2001 From: Valentin Pratz Date: Tue, 5 Mar 2024 11:04:10 +0100 Subject: [PATCH] fix: README - minimal example Outdated call to `bf.simulation.GenerativeModel`, requires `simulation_is_batched` argument --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a6e6fb36d..2fdf468c8 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ def prior(D=2, mu=0., sigma=1.0): Then, we connect the `prior` with the `simulator` using a `GenerativeModel` wrapper: ```python -generative_model = bf.simulation.GenerativeModel(prior, simulator) +generative_model = bf.simulation.GenerativeModel(prior, simulator, simulator_is_batched=False) ``` Next, we create our BayesFlow setup consisting of a summary and an inference network: