ZihanWang314
commited on
Commit
·
86b8ec4
1
Parent(s):
60d4795
update
Browse files
README.md
CHANGED
|
@@ -161,6 +161,23 @@ print(dataset)
|
|
| 161 |
})
|
| 162 |
```
|
| 163 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 164 |
#### Dataset Statistics Summary
|
| 165 |
|
| 166 |
| **Metric** | **Total** | **Train** | **Test** |
|
|
@@ -184,14 +201,9 @@ print(dataset)
|
|
| 184 |
| Avg. Keyframes per Question | 1.88 | 1.84 | 2.01 |
|
| 185 |
|
| 186 |
|
| 187 |
-
#### Download Videos
|
| 188 |
-
|
| 189 |
-
TODO: We plan to provide a script of how to download a subset from [Ego4d](https://ego4d-data.org/).
|
| 190 |
-
Assume your video will be downloaded to your_path/videos/ .
|
| 191 |
-
|
| 192 |
#### Evaluation scripts
|
| 193 |
|
| 194 |
-
Please refer to ./eval.py
|
| 195 |
|
| 196 |
|
| 197 |
|
|
|
|
| 161 |
})
|
| 162 |
```
|
| 163 |
|
| 164 |
+
#### Video Source Download
|
| 165 |
+
|
| 166 |
+
TODO: We plan to provide a script of how to download a subset from [Ego4d](https://ego4d-data.org/).
|
| 167 |
+
Assume your video will be downloaded to your_path/videos/ .
|
| 168 |
+
|
| 169 |
+
```bash
|
| 170 |
+
pip install ego4d
|
| 171 |
+
|
| 172 |
+
ego4d --output_directory=your_path/videos/ \
|
| 173 |
+
--datasets full_scale annotations \
|
| 174 |
+
--metadata \
|
| 175 |
+
--video_uid_file video_uids.txt
|
| 176 |
+
|
| 177 |
+
python process_videos_to_clips.py
|
| 178 |
+
```
|
| 179 |
+
|
| 180 |
+
|
| 181 |
#### Dataset Statistics Summary
|
| 182 |
|
| 183 |
| **Metric** | **Total** | **Train** | **Test** |
|
|
|
|
| 201 |
| Avg. Keyframes per Question | 1.88 | 1.84 | 2.01 |
|
| 202 |
|
| 203 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 204 |
#### Evaluation scripts
|
| 205 |
|
| 206 |
+
Please refer to [./eval.py](https://huggingface.co/datasets/LVHaystack/LongVideoHaystack/blob/main/eval.py).
|
| 207 |
|
| 208 |
|
| 209 |
|