Clarify frame extraction scope in README
Browse files
README.md
CHANGED
|
@@ -47,7 +47,9 @@ bash scripts/unpack_data.sh /path/to/data
|
|
| 47 |
|
| 48 |
Several large archives are distributed as multi-part files to satisfy Hub file-size limits. `unpack_data.sh` detects these parts automatically and streams them into a single extraction pass.
|
| 49 |
|
| 50 |
-
### 2. Extract frames
|
|
|
|
|
|
|
| 51 |
|
| 52 |
```bash
|
| 53 |
python scripts/extract_vlac2_release_frames.py \
|
|
@@ -56,7 +58,15 @@ python scripts/extract_vlac2_release_frames.py \
|
|
| 56 |
--benchmark-json benchmark_style_all/test_expert_seen/video_progress_benchmark_file.json
|
| 57 |
```
|
| 58 |
|
| 59 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 60 |
|
| 61 |
### 3. Use the benchmark JSON files
|
| 62 |
|
|
|
|
| 47 |
|
| 48 |
Several large archives are distributed as multi-part files to satisfy Hub file-size limits. `unpack_data.sh` detects these parts automatically and streams them into a single extraction pass.
|
| 49 |
|
| 50 |
+
### 2. Extract frames
|
| 51 |
+
|
| 52 |
+
To extract frames only for one or more selected benchmark JSON files:
|
| 53 |
|
| 54 |
```bash
|
| 55 |
python scripts/extract_vlac2_release_frames.py \
|
|
|
|
| 58 |
--benchmark-json benchmark_style_all/test_expert_seen/video_progress_benchmark_file.json
|
| 59 |
```
|
| 60 |
|
| 61 |
+
This decodes only the episodes referenced by the provided benchmark JSON file(s), rather than scanning the full raw-data release.
|
| 62 |
+
|
| 63 |
+
If `--benchmark-json` is omitted, the extractor scans all benchmark JSON files under `benchmark_style_all/`, collects all referenced records, and extracts the corresponding `main_path` videos:
|
| 64 |
+
|
| 65 |
+
```bash
|
| 66 |
+
python scripts/extract_vlac2_release_frames.py \
|
| 67 |
+
--data-root /path/to/data \
|
| 68 |
+
--frames-root /path/to/data_extracted_frames
|
| 69 |
+
```
|
| 70 |
|
| 71 |
### 3. Use the benchmark JSON files
|
| 72 |
|