Simplify README and clarify frame extraction paths
Browse files
README.md
CHANGED
|
@@ -50,15 +50,27 @@ bash scripts/extract_vlac2_release_raw_archives.sh /path/to/data
|
|
| 50 |
### 2. Extract frames
|
| 51 |
|
| 52 |
```bash
|
| 53 |
-
python scripts/extract_vlac2_release_frames.py --data-root data
|
| 54 |
```
|
| 55 |
|
| 56 |
-
|
| 57 |
|
| 58 |
-
|
| 59 |
|
| 60 |
-
```
|
| 61 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 62 |
```
|
| 63 |
|
| 64 |
### 3. Use the benchmark splits
|
|
@@ -91,34 +103,6 @@ should be resolved as:
|
|
| 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 four test splits are intended for evaluation only.
|
| 105 |
-
|
| 106 |
-
## Dependencies
|
| 107 |
-
|
| 108 |
-
A video decoder backend is required for frame extraction. Install one of the following:
|
| 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 contains only the raw videos required by the released benchmark splits.
|
|
|
|
| 50 |
### 2. Extract frames
|
| 51 |
|
| 52 |
```bash
|
| 53 |
+
python scripts/extract_vlac2_release_frames.py --data-root /path/to/data
|
| 54 |
```
|
| 55 |
|
| 56 |
+
This command reads raw videos from `/path/to/data` and writes extracted frames to `_extracted_frames/` under the release directory. The output location is fixed by the release package and does not need to be specified explicitly. Only the benchmark-designated main camera stream is materialized.
|
| 57 |
|
| 58 |
+
For example, if the release directory is:
|
| 59 |
|
| 60 |
+
```text
|
| 61 |
+
/path/to/release
|
| 62 |
+
```
|
| 63 |
+
|
| 64 |
+
and the raw videos are unpacked to:
|
| 65 |
+
|
| 66 |
+
```text
|
| 67 |
+
/path/to/release/data
|
| 68 |
+
```
|
| 69 |
+
|
| 70 |
+
then the extracted frames will be written to:
|
| 71 |
+
|
| 72 |
+
```text
|
| 73 |
+
/path/to/release/_extracted_frames
|
| 74 |
```
|
| 75 |
|
| 76 |
### 3. Use the benchmark splits
|
|
|
|
| 103 |
/path/to/release/_extracted_frames/...
|
| 104 |
```
|
| 105 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 106 |
## Notes
|
| 107 |
|
| 108 |
* This repository contains only the raw videos required by the released benchmark splits.
|