Przeglądaj źródła

Increase max_steps in DoorKey to make it learnable (#15)

Lucas Willems 6 lat temu
rodzic
commit
867477f48c
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      gym_minigrid/envs/doorkey.py

+ 1 - 1
gym_minigrid/envs/doorkey.py

@@ -9,7 +9,7 @@ class DoorKeyEnv(MiniGridEnv):
     def __init__(self, size=8):
         super().__init__(
             grid_size=size,
-            max_steps=4*size*size
+            max_steps=10*size*size
         )
 
     def _gen_grid(self, width, height):