Skip to content

Commit

Permalink
Fix #2131 (#2132)
Browse files Browse the repository at this point in the history
There's something specifically wrong with an image used
in rendering pendulum-v0, causing visualize to fail.

I swapped it out with CartPole-v1 for the purposes of
the tests and that was a fix.
  • Loading branch information
avnishn authored Oct 15, 2020
1 parent b4b7aa1 commit 6da4d52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/garage/envs/test_normalized_gym.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
class TestNormalizedGym:

def setup_method(self):
self.env = normalize(GymEnv('Pendulum-v0'),
self.env = normalize(GymEnv('CartPole-v1'),
normalize_reward=True,
normalize_obs=True,
flatten_obs=True)
Expand Down

0 comments on commit 6da4d52

Please sign in to comment.