Add README
Browse files
README.md
CHANGED
|
@@ -1,50 +1,80 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Frozen Lake Visual Spatial Planning Dataset
|
| 2 |
+
|
| 3 |
+
## Dataset Description
|
| 4 |
+
|
| 5 |
+
This dataset contains visual maze navigation and path verification tasks based on the Frozen Lake environment.
|
| 6 |
+
|
| 7 |
+
### Dataset Summary
|
| 8 |
+
|
| 9 |
+
- **Total samples**: 1670
|
| 10 |
+
- **Tasks**: Path Navigation and Path Verification
|
| 11 |
+
- **Splits**:
|
| 12 |
+
- `navigation_test`: 900 samples
|
| 13 |
+
- `verify_test`: 770 samples
|
| 14 |
+
|
| 15 |
+
### Task Types
|
| 16 |
+
|
| 17 |
+
1. **Path Verification**: Given a maze image and an action sequence, determine if the path is safe (avoids holes and reaches the goal).
|
| 18 |
+
2. **Path Navigation**: Given a maze image, generate an optimal action sequence from start to goal while avoiding holes.
|
| 19 |
+
|
| 20 |
+
### Data Fields
|
| 21 |
+
|
| 22 |
+
Common fields:
|
| 23 |
+
- `idx`: Unique identifier
|
| 24 |
+
- `original_id`: Original data ID
|
| 25 |
+
- `image`: RGB image of the maze
|
| 26 |
+
- `text`: Task instruction and prompt
|
| 27 |
+
- `answer`: Ground truth answer
|
| 28 |
+
- `task_type`: Type of task (verify/navigation)
|
| 29 |
+
- `split`: Data split (sft/rl/test)
|
| 30 |
+
- `size`: Maze size (grid dimension)
|
| 31 |
+
- `gym_map`: Gym environment map representation (JSON string)
|
| 32 |
+
|
| 33 |
+
Path Verification specific fields:
|
| 34 |
+
- `path_length`: Length of the action sequence
|
| 35 |
+
- `path`: Action sequence string
|
| 36 |
+
|
| 37 |
+
Path Navigation specific fields:
|
| 38 |
+
- `start_coords`: Starting coordinates (JSON string)
|
| 39 |
+
- `goal_coords`: Goal coordinates (JSON string)
|
| 40 |
+
- `obstacle_coords`: Obstacle coordinates (JSON string)
|
| 41 |
+
- `astar_path`: A* algorithm path (if available)
|
| 42 |
+
|
| 43 |
+
### Actions
|
| 44 |
+
|
| 45 |
+
- `L`: Move left
|
| 46 |
+
- `R`: Move right
|
| 47 |
+
- `U`: Move up
|
| 48 |
+
- `D`: Move down
|
| 49 |
+
|
| 50 |
+
### Maze Elements
|
| 51 |
+
|
| 52 |
+
- `S`: Start position
|
| 53 |
+
- `G`: Goal position
|
| 54 |
+
- `F`: Frozen (safe) tile
|
| 55 |
+
- `H`: Hole (unsafe)
|
| 56 |
+
|
| 57 |
+
## Usage
|
| 58 |
+
|
| 59 |
+
```python
|
| 60 |
+
from datasets import load_dataset
|
| 61 |
+
|
| 62 |
+
# Load specific split
|
| 63 |
+
dataset = load_dataset("YOUR_USERNAME/frozen-lake-vsp", split="navigation_test")
|
| 64 |
+
|
| 65 |
+
# Access an example
|
| 66 |
+
example = dataset[0]
|
| 67 |
+
image = example['image']
|
| 68 |
+
prompt = example['text']
|
| 69 |
+
answer = example['answer']
|
| 70 |
+
## Citation
|
| 71 |
+
If you use this dataset, please cite:
|
| 72 |
+
|
| 73 |
+
@dataset{temp,
|
| 74 |
+
title={temp},
|
| 75 |
+
author={Your Name},
|
| 76 |
+
year={2024}
|
| 77 |
+
}
|
| 78 |
+
|
| 79 |
+
License
|
| 80 |
+
Apache 2.0
|