Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,47 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: mit
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
task_categories:
|
| 4 |
+
- reinforcement-learning
|
| 5 |
+
tags:
|
| 6 |
+
- imitation_learning
|
| 7 |
+
- gymnasium
|
| 8 |
+
- agents
|
| 9 |
+
pretty_name: Labyrinth 4x4 Dataset
|
| 10 |
+
size_categories:
|
| 11 |
+
- 1K<n<10K
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
# Labyrinth 5x5 Dataset
|
| 15 |
+
|
| 16 |
+
This dataset is for the gymnasium-base environment [Labyrinth-v0](https://github.com/NathanGavenski/maze-gym).
|
| 17 |
+
It contains `obs`, `actions`, `rewards`, `episodeed_starts` and `info` for each entry based on `100` train, `100` validation and `100` test different structures.
|
| 18 |
+
|
| 19 |
+
## Dataset Details
|
| 20 |
+
|
| 21 |
+
### Dataset Description
|
| 22 |
+
|
| 23 |
+
The dataset consists of the shortest route for each Labyrinth structure over `100` different structures for `3` different splits (`train`, `validation` and `test`).
|
| 24 |
+
Each entry cosists of:
|
| 25 |
+
|
| 26 |
+
```{python}
|
| 27 |
+
obs (str): path to the image of the observation.
|
| 28 |
+
action (int): the action for that observation (0-4).
|
| 29 |
+
reward (float): the reward for that observation.
|
| 30 |
+
episode_starts (bool): whether that observation was the initial timestep for that path.
|
| 31 |
+
info (str): the custom setting language to load that structure into the environment if needed.
|
| 32 |
+
```
|
| 33 |
+
|
| 34 |
+
The dataset has `4` different splits (`train`, `validation`, `test`, and `random`).
|
| 35 |
+
The `train`, `validation` and `test` are `100` different structures for training, validating and testing, respectively.
|
| 36 |
+
The `random` split is for imitation learning and offline inverse reinforcement learning methods that require random samples to start (i.e., BCO, IUPE, SAIL).
|
| 37 |
+
|
| 38 |
+
### Usage
|
| 39 |
+
Feel free to download all files from this dataset and use it as you please.
|
| 40 |
+
If you are interested in using our PyTorch Dataset implementation, feel free to check the [IL Datasets](https://github.com/NathanGavenski/IL-Datasets/blob/main/src/imitation_datasets/dataset/dataset.py) project.
|
| 41 |
+
There, we implement a base Dataset that downloads this dataset and all other datasets directly from HuggingFace.
|
| 42 |
+
The BaselineDataset also allows for more control over the splits and how many episodes you want to use (in cases where the `100` episodes aren't necessary).
|
| 43 |
+
|
| 44 |
+
## Citation
|
| 45 |
+
|
| 46 |
+
```
|
| 47 |
+
```
|