Explorar el Código

rename metadata keys as to match the gym API

saleml hace 2 años
padre
commit
fc1b718339
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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