From 463f07f20ff5cc2843d4b7cdf12c54a73b7d4d1c Mon Sep 17 00:00:00 2001 From: sicer Date: Wed, 16 Aug 2023 16:59:30 +0800 Subject: [PATCH] Change registry params of `BabyAI-GoToObjS6-v0` (#391) --- minigrid/__init__.py | 4 ++-- minigrid/envs/babyai/goto.py | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/minigrid/__init__.py b/minigrid/__init__.py index d06fc1f67..068bdf51f 100644 --- a/minigrid/__init__.py +++ b/minigrid/__init__.py @@ -595,9 +595,9 @@ def register_minigrid_envs(): ) register( - id="BabyAI-GoToObjS6-v0", + id="BabyAI-GoToObjS6-v1", entry_point="minigrid.envs.babyai:GoToObj", - kwargs={"room_size": 4}, + kwargs={"room_size": 6}, ) register( diff --git a/minigrid/envs/babyai/goto.py b/minigrid/envs/babyai/goto.py index 59f987c22..f8575cc5e 100644 --- a/minigrid/envs/babyai/goto.py +++ b/minigrid/envs/babyai/goto.py @@ -243,7 +243,9 @@ class GoToObj(RoomGridLevel): - `BabyAI-GoToObj-v0` - `BabyAI-GoToObjS4-v0` - - `BabyAI-GoToObjS6-v0` + - `BabyAI-GoToObjS6-v1` + + Notice: `BabyAI-GoToObjS6-v0` is no longer for use due to a bug in the registry parameters. """