Skip to content

Commit

Permalink
explicitly seed multiagent environment
Browse files Browse the repository at this point in the history
  • Loading branch information
cpnota committed Jan 26, 2024
1 parent 109a7a1 commit e236f36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion all/experiments/multiagent_env_experiment_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def setUp(self):
random.seed(0)
np.random.seed(0)
torch.manual_seed(0)
self.env = MultiagentAtariEnv('space_invaders_v2', device='cpu')
self.env = MultiagentAtariEnv('space_invaders_v2', device='cpu', seed=0)
self.env.reset(seed=0)
self.experiment = None

Expand Down

0 comments on commit e236f36

Please sign in to comment.