Explorar o código

rename metadata keys as to match the gym API

saleml %!s(int64=2) %!d(string=hai) anos
pai
achega
fc1b718339
Modificáronse 1 ficheiros con 2 adicións e 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