Skip to content

Commit

Permalink
forgot a +1
Browse files Browse the repository at this point in the history
  • Loading branch information
thatguy11325 committed Jul 8, 2024
1 parent 83ed6f7 commit 45c5a92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pokemonred_puffer/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,8 @@ def train(
vec = pufferlib.vector.Ray

# TODO: Remove the +1 once the driver env doesn't permanently increase the env id
env_send_queues = [Queue() for _ in range(2 * args.train.num_envs)]
env_recv_queues = [Queue() for _ in range(2 * args.train.num_envs)]
env_send_queues = [Queue() for _ in range(2 * args.train.num_envs + 1)]
env_recv_queues = [Queue() for _ in range(2 * args.train.num_envs + 1)]

vecenv = pufferlib.vector.make(
env_creator,
Expand Down

0 comments on commit 45c5a92

Please sign in to comment.