From 4d06683ff554cb30b38ba203268bca3f70faea06 Mon Sep 17 00:00:00 2001 From: EdanToledo Date: Tue, 9 Jul 2024 14:16:05 +0000 Subject: [PATCH] chore: fix typo and add config --- stoix/configs/env/navix/empty_5x5.yaml | 2 +- stoix/configs/env/xland_minigrid/empty_5x5.yaml | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 stoix/configs/env/xland_minigrid/empty_5x5.yaml diff --git a/stoix/configs/env/navix/empty_5x5.yaml b/stoix/configs/env/navix/empty_5x5.yaml index 91f47be4..17818d03 100644 --- a/stoix/configs/env/navix/empty_5x5.yaml +++ b/stoix/configs/env/navix/empty_5x5.yaml @@ -2,7 +2,7 @@ env_name: navix scenario: name: Navix-Empty-5x5-v0 - task_name: navix-dempty-5x5-v0 + task_name: navix-empty-5x5-v0 kwargs: {} diff --git a/stoix/configs/env/xland_minigrid/empty_5x5.yaml b/stoix/configs/env/xland_minigrid/empty_5x5.yaml new file mode 100644 index 00000000..09970382 --- /dev/null +++ b/stoix/configs/env/xland_minigrid/empty_5x5.yaml @@ -0,0 +1,16 @@ +# ---Environment Configs--- +env_name: xland_minigrid +scenario: + name: MiniGrid-Empty-5x5 + task_name: minigrid_empty_5x5 + +kwargs: {} + +# Defines the metric that will be used to evaluate the performance of the agent. +# This metric is returned at the end of an experiment and can be used for hyperparameter tuning. +eval_metric: episode_return + + +# Optional wrapper to flatten the observation space. +wrapper: + _target_: stoix.wrappers.transforms.FlattenObservationWrapper