Optimal-Fullobs

Description

The dataset was generated using the expert bot from the BabyAI original repository and adapted to the latest version of the environment. The bot is a hard-coded planner, which solves all the tasks optimally. This version of the dataset uses the FullyObsWrapper, which provides the full observability of the environment.

Dataset Specs

Total Steps

5436

Total Episodes

1000

Dataset Observation Space

Dict('direction': Discrete(4), 'image': Box(0, 255, (8, 8, 3), uint8), 'mission': Text(1, 256, charset=                                                              ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''(),,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdeeeffghijklmnnoopqrrssttuvwxyzz{}))

Dataset Action Space

Discrete(7)

Algorithm

BabyAI expert bot

Author

Omar G. Younis

Email

omar@farama.org

Code Permalink

https://github.com/Farama-Foundation/minari-dataset-generation-scripts

Minari Version

0.5.1 (supported)

Download

minari download minigrid/BabyAI-GoToLocal/optimal-fullobs-v0

Environment Specs

The following table rows correspond to the Gymnasium environment specifications used to generate the dataset. To read more about what each parameter means you can have a look at the Gymnasium documentation https://gymnasium.farama.org/api/registry/#gymnasium.envs.registration.EnvSpec

This environment can be recovered from the Minari dataset as follows:

import minari

dataset = minari.load_dataset('minigrid/BabyAI-GoToLocal/optimal-fullobs-v0')
env  = dataset.recover_environment()

ID

BabyAI-GoToLocal-v0

Observation Space

Dict('direction': Discrete(4), 'image': Box(0, 255, (8, 8, 3), uint8), 'mission': MissionSpace(<function BabyAIMissionSpace._gen_mission at 0x7feb876a7dc0>, None))

Action Space

Discrete(7)

entry_point

minigrid.envs.babyai:GoToLocal

max_episode_steps

None

reward_threshold

None

nondeterministic

False

order_enforce

True

disable_env_checker

False

kwargs

{}

additional_wrappers

(WrapperSpec(name='FullyObsWrapper', entry_point='minigrid.wrappers:FullyObsWrapper', kwargs={}),)

vector_entry_point

None

Evaluation Environment Specs

This dataset doesn’t contain an eval_env_spec attribute which means that the specs of the environment used for evaluation are the same as the specs of the environment used for creating the dataset. The following calls will return the same environment:

import minari

dataset = minari.load_dataset('minigrid/BabyAI-GoToLocal/optimal-fullobs-v0')
env  = dataset.recover_environment()
eval_env = dataset.recover_environment(eval_env=True)

assert env.spec == eval_env.spec