Parcourir la source

rename metadata keys as to match the gym API

saleml il y a 2 ans
Parent
commit
fc1b718339
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      gym_minigrid/minigrid.py

+ 2 - 2
gym_minigrid/minigrid.py

@@ -643,8 +643,8 @@ class MiniGridEnv(gym.Env):
     """
 
     metadata = {
-        'render.modes': ['human', 'rgb_array'],
-        'video.frames_per_second' : 10
+        'render_modes': ['human', 'rgb_array'],
+        'render_fps' : 10
     }
 
     # Enumeration of possible actions