Skip to content

Commit

Permalink
changes to default settings for hypergrid
Browse files Browse the repository at this point in the history
  • Loading branch information
josephdviviano committed Apr 2, 2024
1 parent a670356 commit 213653c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tutorials/examples/train_hypergrid.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,11 @@ def main(args): # noqa: C901

if args.replay_buffer_prioritized:
replay_buffer = PrioritizedReplayBuffer(
env, objects_type=objects_type, capacity=args.replay_buffer_size
env,
objects_type=objects_type,
capacity=args.replay_buffer_size,
p_norm_distance=1, # Use L1-norm for diversity estimation.
cutoff_distance=0, # -1 turns off diversity-based filtering.
)
else:
replay_buffer = ReplayBuffer(
Expand Down

0 comments on commit 213653c

Please sign in to comment.