Skip to content

Commit

Permalink
note left for self
Browse files Browse the repository at this point in the history
  • Loading branch information
josephdviviano committed Jul 17, 2024
1 parent 272d79f commit ef83ad7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tutorials/examples/train_hypergrid_multinode.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,7 @@ def validate_hypergrid(
)

# Add the mode counting metric.
# TODO: This is not the same as what is done in `train_hypergrid`.
states, scale = visited_terminating_states.tensor, env.scale_factor

normalized_states = ((states * scale) - (scale / 2) * (env.height - 1)).abs()
Expand Down

0 comments on commit ef83ad7

Please sign in to comment.