Better readme
Browse files
README.md
CHANGED
|
@@ -5,13 +5,46 @@ language:
|
|
| 5 |
pretty_name: human_overcooked_dataset
|
| 6 |
---
|
| 7 |
|
| 8 |
-
|
| 9 |
|
| 10 |
-
This
|
| 11 |
-
- A folder of images corresponding to each frame of the game (**imgs**).
|
| 12 |
-
- A **key_frames.npy**, denoting which of the images represent frames at which the team took a decision.
|
| 13 |
-
- **trajectory.npy**, the micro-level trajectory, corresponding to the image frames.
|
| 14 |
-
- **macro_trajectory.npy**, corresponding to the decision frames.
|
| 15 |
-
- **metadata.json**, with the task metadata and agent beliefs.
|
| 16 |
|
| 17 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
pretty_name: human_overcooked_dataset
|
| 6 |
---
|
| 7 |
|
| 8 |
+
# Human Macro-Trajectory Dataset
|
| 9 |
|
| 10 |
+
This archive contains the human trajectory data used for offline capability-inference evaluation and human-data plotting.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
|
| 12 |
+
## Contents
|
| 13 |
+
|
| 14 |
+
```text
|
| 15 |
+
macro_trajectories/
|
| 16 |
+
human_macro_trajectory_dataset.npy
|
| 17 |
+
0001/
|
| 18 |
+
trajectory.npy
|
| 19 |
+
key_frames.npy
|
| 20 |
+
macro_trajectory.npy
|
| 21 |
+
metadata.json
|
| 22 |
+
0002/
|
| 23 |
+
...
|
| 24 |
+
```
|
| 25 |
+
|
| 26 |
+
## File Descriptions
|
| 27 |
+
human_macro_trajectory_dataset.npy
|
| 28 |
+
Preprocessed dataset used directly by human_data_offline_eval.py. This is the main file needed for offline inference evaluation.
|
| 29 |
+
|
| 30 |
+
trajectory.npy
|
| 31 |
+
Full state trajectory recorded during human play. This contains the environment state at each low-level/micro timestep.
|
| 32 |
+
|
| 33 |
+
key_frames.npy
|
| 34 |
+
Indices into trajectory.npy identifying the timesteps that correspond to macro-action decision points.
|
| 35 |
+
|
| 36 |
+
macro_trajectory.npy
|
| 37 |
+
Subsampled trajectory containing only the states at macro-action decision points:
|
| 38 |
+
```text
|
| 39 |
+
macro_trajectory = trajectory[key_frames]
|
| 40 |
+
```
|
| 41 |
+
This is the per-trajectory format used by the diversity and trajectory-analysis plotting code.
|
| 42 |
+
|
| 43 |
+
metadata.json
|
| 44 |
+
Metadata for the trajectory, including the map, task, ground-truth action restrictions, timestamp, and agent-belief configuration.
|
| 45 |
+
|
| 46 |
+
## Micro vs Macro States
|
| 47 |
+
The Overcooked environment runs at two levels.
|
| 48 |
+
Micro states are the low-level environment states observed at every primitive timestep. These correspond to individual movement/action updates, such as moving up/down/left/right or waiting while a macro action is being executed. These are stored in trajectory.npy.
|
| 49 |
+
Macro states are the decision-point states where agents choose a new macro action, such as getting an ingredient, chopping, getting a plate, or delivering. These are extracted from the micro trajectory using key_frames.npy and stored in macro_trajectory.npy.
|
| 50 |
+
The capability-inference algorithms operate on macro-level trajectories, so most analyses use macro_trajectory.npy or the bundled human_macro_trajectory_dataset.npy.
|