Skip to content

Commit 08a920d

Browse files
Balandatfacebook-github-bot
authored andcommitted
Fix construction of ModelListGP in closed_loop_botorch tutorial (#175)
Summary: Resolves small issue flagged in #174 Pull Request resolved: #175 Reviewed By: sdaulton Differential Revision: D15861130 Pulled By: Balandat fbshipit-source-id: e137d14041a5eaad31f4eec729f872badfd4325c
1 parent e6595b8 commit 08a920d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tutorials/closed_loop_botorch_only.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
" model_obj = FixedNoiseGP(train_x, train_obj, train_yvar.expand_as(train_obj)).to(train_x)\n",
103103
" model_con = FixedNoiseGP(train_x, train_con, train_yvar.expand_as(train_con)).to(train_x)\n",
104104
" # combine into a multi-output GP model\n",
105-
" model = ModelListGP(gp_models=[model_obj, model_con])\n",
105+
" model = ModelListGP(model_obj, model_con)\n",
106106
" mll = SumMarginalLogLikelihood(model.likelihood, model)\n",
107107
" # load state dict if it is passed\n",
108108
" if state_dict is not None:\n",

0 commit comments

Comments
 (0)