Update README.md
Browse files
README.md
CHANGED
@@ -168,10 +168,13 @@ add hyperlink to demo
|
|
168 |
```python
|
169 |
from datasets import load_dataset
|
170 |
dataset = load_dataset("LVHaystack/LongVideoHaystack")
|
171 |
-
print(dataset)
|
172 |
```
|
173 |
```bash
|
174 |
-
|
|
|
|
|
|
|
175 |
```
|
176 |
|
177 |
#### Download and Process Video Source
|
@@ -208,25 +211,26 @@ To follow evaluation for LongVideoBench in our paper, please find script to tran
|
|
208 |
|
209 |
#### Dataset Statistics Summary
|
210 |
|
211 |
-
| **Metric**
|
212 |
-
|
213 |
-
| **Video Statistics** | | | |
|
214 |
-
| Total Videos | **988** | **
|
215 |
-
| Total Video Duration (hr) | 423.
|
216 |
-
| Avg. Video Duration (min) | 25.
|
217 |
-
| **Clip Statistics** | | | |
|
218 |
-
| Total Video Clips | **1,324** | **
|
219 |
-
| Total Video Clip Duration (hr) | 180.
|
220 |
-
| Avg. Video Clip Duration (sec) |
|
221 |
-
| **Frame Statistics** | | | |
|
222 |
-
| Total Frames (k) | **45,
|
223 |
-
| Avg. Frames per Video (k) | 46.
|
224 |
-
| Ratio of Keyframe / Frame (‰) | 0.62 | 0.59 | 0.
|
225 |
-
| **QA Statistics** | | | |
|
226 |
-
| Total QA Pairs | **15,092** | **
|
227 |
-
| Avg. QA Pair per Video | 15.
|
228 |
-
| Avg. QA Pair per Clip | 11.
|
229 |
-
| Avg. Keyframes per Question | 1.88 | 1.
|
|
|
230 |
|
231 |
|
232 |
#### Evaluation scripts
|
|
|
168 |
```python
|
169 |
from datasets import load_dataset
|
170 |
dataset = load_dataset("LVHaystack/LongVideoHaystack")
|
171 |
+
print(dataset['train'])
|
172 |
```
|
173 |
```bash
|
174 |
+
Dataset({
|
175 |
+
features: ['video_id', 'vclip_id', 'question', 'options', 'answer', 'frame_indexes_video', 'frame_indexes_vclip', 'video_metadata'],
|
176 |
+
num_rows: 12892
|
177 |
+
})
|
178 |
```
|
179 |
|
180 |
#### Download and Process Video Source
|
|
|
211 |
|
212 |
#### Dataset Statistics Summary
|
213 |
|
214 |
+
| **Metric** | **Total** | **Train** | **Val** | **Test** | **Test_Tiny** |
|
215 |
+
|--------------------------------|--------------|-------------|-------------|-------------|---------------|
|
216 |
+
| **Video Statistics** | | | | | |
|
217 |
+
| Total Videos | **988** | **858** | **71** | **53** | **13** |
|
218 |
+
| Total Video Duration (hr) | 423.30 | 371.76 | 27.39 | 24.42 | 4.33 |
|
219 |
+
| Avg. Video Duration (min) | 25.71 | 26.00 | 23.15 | 27.65 | 19.97 |
|
220 |
+
| **Clip Statistics** | | | | | |
|
221 |
+
| Total Video Clips | **1,324** | **1,141** | **89** | **80** | **17** |
|
222 |
+
| Total Video Clip Duration (hr) | 180.40 | 156.09 | 11.97 | 10.56 | 2.18 |
|
223 |
+
| Avg. Video Clip Duration (sec) | 490.50 | 492.49 | 484.05 | 474.98 | 461.53 |
|
224 |
+
| **Frame Statistics** | | | | | |
|
225 |
+
| Total Frames (k) | **45,716** | **40,150** | **2,958** | **2,637** | **467** |
|
226 |
+
| Avg. Frames per Video (k) | 46.27 | 46.80 | 41.66 | 49.76 | 35.95 |
|
227 |
+
| Ratio of Keyframe / Frame (‰) | 0.62 | 0.59 | 0.69 | 0.78 | 0.89 |
|
228 |
+
| **QA Statistics** | | | | | |
|
229 |
+
| Total QA Pairs | **15,092** | **12,892** | **1,000** | **1,000** | **200** |
|
230 |
+
| Avg. QA Pair per Video | 15.28 | 15.03 | 14.08 | 18.87 | 15.38 |
|
231 |
+
| Avg. QA Pair per Clip | 11.40 | 11.30 | 11.24 | 12.50 | 11.76 |
|
232 |
+
| Avg. Keyframes per Question | 1.88 | 1.85 | 2.05 | 2.07 | 2.07 |
|
233 |
+
|
234 |
|
235 |
|
236 |
#### Evaluation scripts
|