Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aliberts committed Apr 9, 2024
1 parent 6c98935 commit 5f9110a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions gym_pusht/envs/pusht.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,8 @@ class PushTEnv(gym.Env):
* TODO:
"""

metadata = {"render_modes": ["human", "rgb_array"], "render_fps": 10}
# metadata = {"render_modes": ["human", "rgb_array"], "render_fps": 10}
metadata = {"render_modes": ["rgb_array"], "render_fps": 10}

def __init__(
self,
Expand Down Expand Up @@ -330,7 +331,7 @@ def _render(self, visualize=False):
def close(self):
if self.window is not None:
pygame.display.quit()
pygame.quit()
pygame.quit()

def teleop_agent(self):
teleop_agent = collections.namedtuple("TeleopAgent", ["act"])
Expand Down

0 comments on commit 5f9110a

Please sign in to comment.