Skip to content

Commit

Permalink
tweaks (TODO: fix in follow up PR)
Browse files Browse the repository at this point in the history
  • Loading branch information
josephdviviano committed Nov 29, 2023
1 parent 25b7527 commit f12cbec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tutorials/notebooks/intro_gfn_smiley.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1728,7 +1728,7 @@
"def train(gflownet, optimizer, env, batch_size = 128, n_episodes = 25_000):\n",
" \"\"\"Training loop, keeping track of terminal states over training.\"\"\"\n",
" # This stores example terminating states.\n",
" visited_terminating_states = env.States.from_batch_shape((0,))\n",
" visited_terminating_states = env.states_from_batch_shape((0,))\n",
" states_visited = 0\n",
" losses = []\n",
"\n",
Expand Down

0 comments on commit f12cbec

Please sign in to comment.