Refine README style for Video-Progress Benchmark release
Browse files
README.md
CHANGED
|
@@ -10,56 +10,118 @@ license: other
|
|
| 10 |
|
| 11 |
# Video-Progress Benchmark Release
|
| 12 |
|
| 13 |
-
Video-Progress Benchmark is a benchmark for long-horizon robot manipulation progress prediction. This release provides
|
| 14 |
|
| 15 |
## Contents
|
| 16 |
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
|
| 27 |
## Usage
|
| 28 |
|
| 29 |
-
1. Unpack the video archives
|
| 30 |
|
| 31 |
```bash
|
| 32 |
bash scripts/extract_vlac2_release_raw_archives.sh
|
| 33 |
```
|
| 34 |
|
| 35 |
-
This extracts `data/
|
|
|
|
| 36 |
To extract the raw videos elsewhere, pass a target directory:
|
| 37 |
|
| 38 |
```bash
|
| 39 |
bash scripts/extract_vlac2_release_raw_archives.sh /path/to/data
|
| 40 |
```
|
| 41 |
|
| 42 |
-
2. Extract frames
|
| 43 |
|
| 44 |
```bash
|
| 45 |
python scripts/extract_vlac2_release_frames.py --data-root data
|
| 46 |
```
|
| 47 |
|
| 48 |
-
|
| 49 |
-
|
| 50 |
If the raw videos were extracted elsewhere:
|
| 51 |
|
| 52 |
```bash
|
| 53 |
python scripts/extract_vlac2_release_frames.py --data-root /path/to/data
|
| 54 |
```
|
| 55 |
|
| 56 |
-
3. Use the benchmark splits
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 57 |
|
| 58 |
-
|
| 59 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 60 |
|
| 61 |
## Notes
|
| 62 |
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
|
|
|
|
|
| 10 |
|
| 11 |
# Video-Progress Benchmark Release
|
| 12 |
|
| 13 |
+
Video-Progress Benchmark is a benchmark for long-horizon robot manipulation progress prediction. This release provides benchmark JSON files, the minimal raw-video subset required by the released protocol, and a lightweight frame-extraction workflow for reproducible evaluation.
|
| 14 |
|
| 15 |
## Contents
|
| 16 |
|
| 17 |
+
```text
|
| 18 |
+
benchmark_splits/
|
| 19 |
+
train/video_progress_benchmark_file.json
|
| 20 |
+
test_expert_seen/video_progress_benchmark_file.json
|
| 21 |
+
test_expert_unseen/video_progress_benchmark_file.json
|
| 22 |
+
test_nonexpert_seen/video_progress_benchmark_file.json
|
| 23 |
+
test_nonexpert_unseen/video_progress_benchmark_file.json
|
| 24 |
+
|
| 25 |
+
scripts/
|
| 26 |
+
extract_vlac2_release_raw_archives.sh
|
| 27 |
+
extract_vlac2_release_frames.py
|
| 28 |
+
|
| 29 |
+
data/
|
| 30 |
+
train_videos.tar
|
| 31 |
+
test_videos.tar
|
| 32 |
+
```
|
| 33 |
|
| 34 |
## Usage
|
| 35 |
|
| 36 |
+
### 1. Unpack the video archives
|
| 37 |
|
| 38 |
```bash
|
| 39 |
bash scripts/extract_vlac2_release_raw_archives.sh
|
| 40 |
```
|
| 41 |
|
| 42 |
+
This extracts `data/train_videos.tar` and `data/test_videos.tar` into `data/`.
|
| 43 |
+
|
| 44 |
To extract the raw videos elsewhere, pass a target directory:
|
| 45 |
|
| 46 |
```bash
|
| 47 |
bash scripts/extract_vlac2_release_raw_archives.sh /path/to/data
|
| 48 |
```
|
| 49 |
|
| 50 |
+
### 2. Extract frames
|
| 51 |
|
| 52 |
```bash
|
| 53 |
python scripts/extract_vlac2_release_frames.py --data-root data
|
| 54 |
```
|
| 55 |
|
| 56 |
+
By default, extracted frames are written to `_extracted_frames/` under the release directory. Only the benchmark main view is extracted.
|
| 57 |
+
|
| 58 |
If the raw videos were extracted elsewhere:
|
| 59 |
|
| 60 |
```bash
|
| 61 |
python scripts/extract_vlac2_release_frames.py --data-root /path/to/data
|
| 62 |
```
|
| 63 |
|
| 64 |
+
### 3. Use the benchmark splits
|
| 65 |
+
|
| 66 |
+
The benchmark JSON files are ready to use. No benchmark reconstruction is required.
|
| 67 |
+
|
| 68 |
+
Frame paths in the JSON files use the prefix:
|
| 69 |
+
|
| 70 |
+
```text
|
| 71 |
+
__VLAC2_FRAMES_ROOT__/
|
| 72 |
+
```
|
| 73 |
+
|
| 74 |
+
Replace `__VLAC2_FRAMES_ROOT__` with the absolute path to the extracted-frame directory.
|
| 75 |
|
| 76 |
+
For example, if frames are extracted to:
|
| 77 |
+
|
| 78 |
+
```text
|
| 79 |
+
/path/to/release/_extracted_frames
|
| 80 |
+
```
|
| 81 |
+
|
| 82 |
+
then:
|
| 83 |
+
|
| 84 |
+
```text
|
| 85 |
+
__VLAC2_FRAMES_ROOT__/...
|
| 86 |
+
```
|
| 87 |
+
|
| 88 |
+
should be resolved as:
|
| 89 |
+
|
| 90 |
+
```text
|
| 91 |
+
/path/to/release/_extracted_frames/...
|
| 92 |
+
```
|
| 93 |
+
|
| 94 |
+
## Benchmark Splits
|
| 95 |
+
|
| 96 |
+
The release contains one training split and four evaluation splits:
|
| 97 |
+
|
| 98 |
+
* `train`
|
| 99 |
+
* `test_expert_seen`
|
| 100 |
+
* `test_expert_unseen`
|
| 101 |
+
* `test_nonexpert_seen`
|
| 102 |
+
* `test_nonexpert_unseen`
|
| 103 |
+
|
| 104 |
+
The test splits are intended for evaluation only.
|
| 105 |
+
|
| 106 |
+
## Dependencies
|
| 107 |
+
|
| 108 |
+
A video decoder backend is required for frame extraction. Install one of:
|
| 109 |
+
|
| 110 |
+
```bash
|
| 111 |
+
pip install opencv-python
|
| 112 |
+
```
|
| 113 |
+
|
| 114 |
+
```bash
|
| 115 |
+
pip install av
|
| 116 |
+
```
|
| 117 |
+
|
| 118 |
+
```bash
|
| 119 |
+
pip install imageio imageio-ffmpeg
|
| 120 |
+
```
|
| 121 |
|
| 122 |
## Notes
|
| 123 |
|
| 124 |
+
* This repository only contains the raw videos required by the released benchmark splits.
|
| 125 |
+
* The full raw-data release is distributed separately.
|
| 126 |
+
* The benchmark JSON files are pre-generated and ready to use.
|
| 127 |
+
* The raw-video archives and extracted-frame cache are separated so that users can regenerate frames under their own storage layout.
|