Skip to content

Commit

Permalink
fix: small livebook fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
polvalente committed Aug 22, 2024
1 parent 9dcd1b4 commit 423210d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion guides/gridworld.livemd
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ max_points = 1000

plot_fn = fn axon_state ->
if axon_state.iteration > 1 do
episode = axon_state.epoch
episode = axon_state.episode

Kino.VegaLite.clear(grid_widget, dataset: "target")
Kino.VegaLite.clear(grid_widget, dataset: "trajectory")
Expand Down Expand Up @@ -158,6 +158,7 @@ state_space_shape = {delta_x, delta_y, delta_x, delta_y}
exploration_eps: 1.0e-4},
plot_fn,
state_to_trajectory_fn,
checkpoint_path: "/tmp/gridworld",
num_episodes: episodes,
max_iter: max_iter
)
Expand Down

0 comments on commit 423210d

Please sign in to comment.