Skip to content

Commit

Permalink
fix: README - minimal example
Browse files Browse the repository at this point in the history
Outdated call to `bf.simulation.GenerativeModel`, requires
`simulation_is_batched` argument
  • Loading branch information
vpratz committed Mar 5, 2024
1 parent 3b196c6 commit 7009aeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 7009aeb

Please sign in to comment.