Skip to content

Commit 5e84c89

Browse files
committed
fix fmpe typo, add nle seed
1 parent 76c1e1b commit 5e84c89

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tutorials/16_implemented_methods.ipynb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@
187187
"from sbi.inference import FMPE\n",
188188
"\n",
189189
"inference = FMPE(prior)\n",
190-
"# FMPE does support multiple rounds of inference\n",
190+
"# FMPE does not support multiple rounds of inference\n",
191191
"theta = prior.sample((num_sims,))\n",
192192
"x = simulator(theta)\n",
193193
"inference.append_simulations(theta, x).train()\n",
@@ -251,6 +251,7 @@
251251
"source": [
252252
"from sbi.inference import NLE\n",
253253
"\n",
254+
"torch.manual_seed(42)\n",
254255
"inference = NLE(prior)\n",
255256
"proposal = prior\n",
256257
"for _ in range(num_rounds):\n",

0 commit comments

Comments
 (0)