weiyueli7 commited on
Commit
e86a312
1 Parent(s): 1af978e

update YTTB-VQA v2

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
.gitattributes DELETED
@@ -1,55 +0,0 @@
1
- *.7z filter=lfs diff=lfs merge=lfs -text
2
- *.arrow filter=lfs diff=lfs merge=lfs -text
3
- *.bin filter=lfs diff=lfs merge=lfs -text
4
- *.bz2 filter=lfs diff=lfs merge=lfs -text
5
- *.ckpt filter=lfs diff=lfs merge=lfs -text
6
- *.ftz filter=lfs diff=lfs merge=lfs -text
7
- *.gz filter=lfs diff=lfs merge=lfs -text
8
- *.h5 filter=lfs diff=lfs merge=lfs -text
9
- *.joblib filter=lfs diff=lfs merge=lfs -text
10
- *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
- *.lz4 filter=lfs diff=lfs merge=lfs -text
12
- *.mlmodel filter=lfs diff=lfs merge=lfs -text
13
- *.model filter=lfs diff=lfs merge=lfs -text
14
- *.msgpack filter=lfs diff=lfs merge=lfs -text
15
- *.npy filter=lfs diff=lfs merge=lfs -text
16
- *.npz filter=lfs diff=lfs merge=lfs -text
17
- *.onnx filter=lfs diff=lfs merge=lfs -text
18
- *.ot filter=lfs diff=lfs merge=lfs -text
19
- *.parquet filter=lfs diff=lfs merge=lfs -text
20
- *.pb filter=lfs diff=lfs merge=lfs -text
21
- *.pickle filter=lfs diff=lfs merge=lfs -text
22
- *.pkl filter=lfs diff=lfs merge=lfs -text
23
- *.pt filter=lfs diff=lfs merge=lfs -text
24
- *.pth filter=lfs diff=lfs merge=lfs -text
25
- *.rar filter=lfs diff=lfs merge=lfs -text
26
- *.safetensors filter=lfs diff=lfs merge=lfs -text
27
- saved_model/**/* filter=lfs diff=lfs merge=lfs -text
28
- *.tar.* filter=lfs diff=lfs merge=lfs -text
29
- *.tar filter=lfs diff=lfs merge=lfs -text
30
- *.tflite filter=lfs diff=lfs merge=lfs -text
31
- *.tgz filter=lfs diff=lfs merge=lfs -text
32
- *.wasm filter=lfs diff=lfs merge=lfs -text
33
- *.xz filter=lfs diff=lfs merge=lfs -text
34
- *.zip filter=lfs diff=lfs merge=lfs -text
35
- *.zst filter=lfs diff=lfs merge=lfs -text
36
- *tfevents* filter=lfs diff=lfs merge=lfs -text
37
- # Audio files - uncompressed
38
- *.pcm filter=lfs diff=lfs merge=lfs -text
39
- *.sam filter=lfs diff=lfs merge=lfs -text
40
- *.raw filter=lfs diff=lfs merge=lfs -text
41
- # Audio files - compressed
42
- *.aac filter=lfs diff=lfs merge=lfs -text
43
- *.flac filter=lfs diff=lfs merge=lfs -text
44
- *.mp3 filter=lfs diff=lfs merge=lfs -text
45
- *.ogg filter=lfs diff=lfs merge=lfs -text
46
- *.wav filter=lfs diff=lfs merge=lfs -text
47
- # Image files - uncompressed
48
- *.bmp filter=lfs diff=lfs merge=lfs -text
49
- *.gif filter=lfs diff=lfs merge=lfs -text
50
- *.png filter=lfs diff=lfs merge=lfs -text
51
- *.tiff filter=lfs diff=lfs merge=lfs -text
52
- # Image files - compressed
53
- *.jpg filter=lfs diff=lfs merge=lfs -text
54
- *.jpeg filter=lfs diff=lfs merge=lfs -text
55
- *.webp filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
README.md CHANGED
@@ -33,6 +33,16 @@ CC-By-NC-4.0
33
 
34
  The language of the data is primarily English.
35
 
 
 
 
 
 
 
 
 
 
 
36
  ## Dataset Structure
37
 
38
  ### Data Instances
 
33
 
34
  The language of the data is primarily English.
35
 
36
+ ## Getting Started
37
+
38
+ ### Creating the dataset
39
+
40
+ Run the following command to download the images and create the dataset:
41
+
42
+ ```python3 create_dataset.py```
43
+
44
+ You will find the images in `images_new` and the dataset in `youtube_new.json`.
45
+
46
  ## Dataset Structure
47
 
48
  ### Data Instances
create_dataset.py ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import subprocess
2
+ import csv
3
+ import json
4
+ from PIL import Image
5
+ import os
6
+ import pandas as pd
7
+
8
+ def check_image(image_id, image_directory):
9
+ """
10
+ Check if an image with a given ID is properly downloaded.
11
+ :param image_id: The ID of the image.
12
+ :param image_directory: Directory where the image is stored.
13
+ :return: True if the image is downloaded and valid, False otherwise.
14
+ """
15
+ # Constructing the file path (assuming images are in .jpg format)
16
+ file_path = os.path.join(image_directory, f"{image_id}.jpg")
17
+
18
+ # Check if the file exists
19
+ if not os.path.exists(file_path):
20
+ print(f"Image {image_id} not found.")
21
+ return False
22
+
23
+ # Try opening the image
24
+ try:
25
+ with Image.open(file_path) as img:
26
+ img.verify() # Verify if it's a correct image
27
+ # print(f"Image {image_id} is valid.")
28
+ return True
29
+ except (IOError, SyntaxError) as e:
30
+ print(f"Image {image_id} is corrupted: {e}")
31
+ return False
32
+
33
+ subprocess.run(['bash', 'download_img.sh'])
34
+
35
+ csv_file_name = "youtube_new.csv"
36
+ json_file_name = "youtube_new.json"
37
+ json_structure = {
38
+ "dataset_type": "test",
39
+ "dataset_name": "youtube",
40
+ "dataset_version": "0.0.2",
41
+ "data": []
42
+ }
43
+
44
+ check_df = pd.read_csv(csv_file_name)
45
+ check_df_cleaned = check_df.drop_duplicates(subset=['video_id'])
46
+ print(f"Creating {check_df.shape[0]} questions {check_df_cleaned.shape[0]} unique images...")
47
+
48
+ with open(csv_file_name, 'r') as csv_file:
49
+ csv_reader = csv.DictReader(csv_file)
50
+ for row in csv_reader:
51
+ if check_image(row['video_id'], 'images_new'):
52
+ row['video_classes'] = row['video_classes'].split(',')
53
+ row['answers'] = row['answers'].split(',')
54
+ json_structure["data"].append(row)
55
+ else:
56
+ pass
57
+ with open(json_file_name, 'w') as json_file:
58
+ json.dump(json_structure, json_file, indent=4)
data.json DELETED
@@ -1,1263 +0,0 @@
1
- {
2
- "dataset_type": "test",
3
- "dataset_name": "mlpc-youtube",
4
- "dataset_version": "0.0.1",
5
- "data": [
6
- {
7
- "video_id": "dxbVdyVYGcQ",
8
- "caption": "",
9
- "question": "What city is listed on the jersey of the player farthest to the right?",
10
- "video_classes": [
11
- "sports"
12
- ],
13
- "answers": [
14
- "memphis"
15
- ],
16
- "video_link": "https://www.youtube.com/watch?v=dxbVdyVYGcQ"
17
- },
18
- {
19
- "video_id": "dbf-xGWJ4wA",
20
- "caption": "",
21
- "question": "How many points did Stephen Curry score in these video highlights?",
22
- "video_classes": [
23
- "sports"
24
- ],
25
- "answers": [
26
- "50",
27
- "50 points",
28
- "50 pts",
29
- "50 pt"
30
- ],
31
- "video_link": "https://www.youtube.com/watch?v=dbf-xGWJ4wA"
32
- },
33
- {
34
- "video_id": "NLA6-QnMOsU",
35
- "caption": "",
36
- "question": "What did the person on the left say, according to the text box?",
37
- "video_classes": [
38
- "sports"
39
- ],
40
- "answers": [
41
- "it's game over"
42
- ],
43
- "video_link": "https://www.youtube.com/watch?v=NLA6-QnMOsU"
44
- },
45
- {
46
- "video_id": "0Q80gJA2Kao",
47
- "caption": "",
48
- "question": "What was Tom Brady's rank in 2022 based on this image?",
49
- "video_classes": [
50
- "sports"
51
- ],
52
- "answers": [
53
- "1",
54
- "number 1",
55
- "#1",
56
- "number one"
57
- ],
58
- "video_link": "https://www.youtube.com/watch?v=0Q80gJA2Kao"
59
- },
60
- {
61
- "video_id": "3eVaHYFp8rc",
62
- "caption": "",
63
- "question": "What is the name of this interview on Netflix?",
64
- "video_classes": [
65
- "sports"
66
- ],
67
- "answers": [
68
- "quarterbacks on quarterbacks"
69
- ],
70
- "video_link": "https://www.youtube.com/watch?v=3eVaHYFp8rc"
71
- },
72
- {
73
- "video_id": "6YqygpSEtsI",
74
- "caption": "",
75
- "question": "Based on this image, who is the sponsor of this video?",
76
- "video_classes": [
77
- "sports"
78
- ],
79
- "answers": [
80
- "geico"
81
- ],
82
- "video_link": "https://www.youtube.com/watch?v=6YqygpSEtsI"
83
- },
84
- {
85
- "video_id": "HjBo--1n8lI",
86
- "caption": "",
87
- "question": "Which session of Super Bowl halftime show is this?",
88
- "video_classes": [
89
- "sports"
90
- ],
91
- "answers": [
92
- "57",
93
- "LVII",
94
- "57th"
95
- ],
96
- "video_link": "https://www.youtube.com/watch?v=HjBo--1n8lI"
97
- },
98
- {
99
- "video_id": "OLhoAm-zGLM",
100
- "caption": "",
101
- "question": "What caption was used in this image to describe the child's emotion?",
102
- "video_classes": [
103
- "sports"
104
- ],
105
- "answers": [
106
- "bye dad"
107
- ],
108
- "video_link": "https://www.youtube.com/watch?v=OLhoAm-zGLM"
109
- },
110
- {
111
- "video_id": "dDcXhA5hAw4",
112
- "caption": "",
113
- "question": "Who is the sponsor of this training camp video?",
114
- "video_classes": [
115
- "sports"
116
- ],
117
- "answers": [
118
- "honda"
119
- ],
120
- "video_link": "https://www.youtube.com/watch?v=dDcXhA5hAw4"
121
- },
122
- {
123
- "video_id": "phCtvkiI9F0",
124
- "caption": "",
125
- "question": "What was the sport that the eight players playing mentioned in this video?",
126
- "video_classes": [
127
- "sports"
128
- ],
129
- "answers": [
130
- "football"
131
- ],
132
- "video_link": "https://www.youtube.com/watch?v=phCtvkiI9F0"
133
- },
134
- {
135
- "video_id": "9rhadTURsrw",
136
- "caption": "",
137
- "question": "Who is the sponsor of this halftime show?",
138
- "video_classes": [
139
- "sports"
140
- ],
141
- "answers": [
142
- "pepsi"
143
- ],
144
- "video_link": "https://www.youtube.com/watch?v=9rhadTURsrw"
145
- },
146
- {
147
- "video_id": "x369hGXJVDc",
148
- "caption": "",
149
- "question": "Which card is the referee giving out?",
150
- "video_classes": [
151
- "sports"
152
- ],
153
- "answers": [
154
- "red",
155
- "red card"
156
- ],
157
- "video_link": "https://www.youtube.com/watch?v=x369hGXJVDc"
158
- },
159
- {
160
- "video_id": "niig5KcPFDU",
161
- "caption": "",
162
- "question": "Is this a men's or women's soccer game?",
163
- "video_classes": [
164
- "sports"
165
- ],
166
- "answers": [
167
- "women",
168
- "woman"
169
- ],
170
- "video_link": "https://www.youtube.com/watch?v=niig5KcPFDU"
171
- },
172
- {
173
- "video_id": "ikz6XOVvj8k",
174
- "caption": "",
175
- "question": "What did the commentator say about this fight?",
176
- "video_classes": [
177
- "sports"
178
- ],
179
- "answers": [
180
- "it's a stupid fight",
181
- "stupid"
182
- ],
183
- "video_link": "https://www.youtube.com/watch?v=ikz6XOVvj8k"
184
- },
185
- {
186
- "video_id": "DCu9xawHJaw",
187
- "caption": "",
188
- "question": "What is the brand name of the basketball on that robot's shoulder?",
189
- "video_classes": [
190
- "technology"
191
- ],
192
- "answers": [
193
- "wilson"
194
- ],
195
- "video_link": "https://www.youtube.com/watch?v=DCu9xawHJaw"
196
- },
197
- {
198
- "video_id": "yeOthSRu2T0",
199
- "caption": "",
200
- "question": "What is the name of the beef that the man is holding?",
201
- "video_classes": [
202
- "food"
203
- ],
204
- "answers": [
205
- "wagyu",
206
- "steak",
207
- "wagyu steak"
208
- ],
209
- "video_link": "https://www.youtube.com/watch?v=yeOthSRu2T0"
210
- },
211
- {
212
- "video_id": "I4gWrboTXwA",
213
- "caption": "",
214
- "question": "Which two countries' wings are being compared in this video?",
215
- "video_classes": [
216
- "food"
217
- ],
218
- "answers": [
219
- "korea and japan",
220
- "japan and korea",
221
- "korea vs japan",
222
- "japan vs korea"
223
- ],
224
- "video_link": "https://www.youtube.com/watch?v=I4gWrboTXwA"
225
- },
226
- {
227
- "video_id": "hxwpkM5w3Cc",
228
- "caption": "",
229
- "question": "For which organization does the man wearing the blue cap work?",
230
- "video_classes": [
231
- "entertainment"
232
- ],
233
- "answers": [
234
- "fbi",
235
- "federal bureau of investigation"
236
- ],
237
- "video_link": "https://www.youtube.com/watch?v=hxwpkM5w3Cc"
238
- },
239
- {
240
- "video_id": "eBKVWnjuQKA",
241
- "caption": "",
242
- "question": "Which airline company is sponsoring the blue and red jersey?",
243
- "video_classes": [
244
- "sports"
245
- ],
246
- "answers": [
247
- "qatar airways",
248
- "qatar"
249
- ],
250
- "video_link": "https://www.youtube.com/watch?v=eBKVWnjuQKA"
251
- },
252
- {
253
- "video_id": "0LhoYwUQ7VM",
254
- "caption": "",
255
- "question": "Who is tha player standing on the far right?",
256
- "video_classes": [
257
- "sports"
258
- ],
259
- "answers": [
260
- "neymar jr",
261
- "neymar"
262
- ],
263
- "video_link": "https://www.youtube.com/watch?v=0LhoYwUQ7VM"
264
- },
265
- {
266
- "video_id": "Zlzi7tsrrh4",
267
- "caption": "",
268
- "question": "What is the price of the steak that the guy is going to try?",
269
- "video_classes": [
270
- "food"
271
- ],
272
- "answers": [
273
- "$125",
274
- "125"
275
- ],
276
- "video_link": "https://www.youtube.com/watch?v=Zlzi7tsrrh4"
277
- },
278
- {
279
- "video_id": "CwzaVzIhgmk",
280
- "caption": "",
281
- "question": "What food is the guy going to talk about?",
282
- "video_classes": [
283
- "food"
284
- ],
285
- "answers": [
286
- "onion pasta",
287
- "pasta"
288
- ],
289
- "video_link": "https://www.youtube.com/watch?v=CwzaVzIhgmk"
290
- },
291
- {
292
- "video_id": "JCfI9Xlj7Io",
293
- "caption": "",
294
- "question": "In which country is this video being taken?",
295
- "video_classes": [
296
- "geography"
297
- ],
298
- "answers": [
299
- "australia"
300
- ],
301
- "video_link": "https://www.youtube.com/watch?v=JCfI9Xlj7Io"
302
- },
303
- {
304
- "video_id": "jaHd1Fm5zl0",
305
- "caption": "",
306
- "question": "How many top fair food are going to be presented in this video?",
307
- "video_classes": [
308
- "food"
309
- ],
310
- "answers": [
311
- "50",
312
- "fifty"
313
- ],
314
- "video_link": "https://www.youtube.com/watch?v=jaHd1Fm5zl0"
315
- },
316
- {
317
- "video_id": "pWUzkxtoJ2I",
318
- "caption": "",
319
- "question": "Which two countries' street food are being compared in this video?",
320
- "video_classes": [
321
- "food"
322
- ],
323
- "answers": [
324
- "japan and spain",
325
- "spain and japan"
326
- ],
327
- "video_link": "https://www.youtube.com/watch?v=pWUzkxtoJ2I"
328
- },
329
- {
330
- "video_id": "myv7yydtCKc",
331
- "caption": "",
332
- "question": "Will this video talk about junk food?",
333
- "video_classes": [
334
- "food"
335
- ],
336
- "answers": [
337
- "yes"
338
- ],
339
- "video_link": "https://www.youtube.com/watch?v=myv7yydtCKc"
340
- },
341
- {
342
- "video_id": "aircAruvnKk",
343
- "caption": "",
344
- "question": "Will this video talk about computer security?",
345
- "video_classes": [
346
- "academic"
347
- ],
348
- "answers": [
349
- "no"
350
- ],
351
- "video_link": "https://www.youtube.com/watch?v=aircAruvnKk&t=2s"
352
- },
353
- {
354
- "video_id": "5q87K1WaoFI",
355
- "caption": "",
356
- "question": "How many levels of difficulty in machine learning will this video discuss?",
357
- "video_classes": [
358
- "academic"
359
- ],
360
- "answers": [
361
- "5",
362
- "five"
363
- ],
364
- "video_link": "https://www.youtube.com/watch?v=5q87K1WaoFI"
365
- },
366
- {
367
- "video_id": "nLRL_NcnK-4",
368
- "caption": "",
369
- "question": "To which college does this tutorial belong?",
370
- "video_classes": [
371
- "academic"
372
- ],
373
- "answers": [
374
- "harvard"
375
- ],
376
- "video_link": "https://www.youtube.com/watch?v=nLRL_NcnK-4"
377
- },
378
- {
379
- "video_id": "aywZrzNaKjs",
380
- "caption": "",
381
- "question": "How long is this video in minutes?",
382
- "video_classes": [
383
- "academic"
384
- ],
385
- "answers": [
386
- "13",
387
- "thirteen",
388
- "13 min",
389
- "thirteen minutes"
390
- ],
391
- "video_link": "https://www.youtube.com/watch?v=aywZrzNaKjs"
392
- },
393
- {
394
- "video_id": "cXpj8JoF29A",
395
- "caption": "",
396
- "question": "Which two counties are being compared in this video?",
397
- "video_classes": [
398
- "geography"
399
- ],
400
- "answers": [
401
- "usa and china",
402
- "china and usa",
403
- "united states and china",
404
- "china and united states"
405
- ],
406
- "video_link": "https://www.youtube.com/watch?v=cXpj8JoF29A"
407
- },
408
- {
409
- "video_id": "GJr9ITHsOsM",
410
- "caption": "",
411
- "question": "Which continent will this video talk about?",
412
- "video_classes": [
413
- "geography"
414
- ],
415
- "answers": [
416
- "europe"
417
- ],
418
- "video_link": "https://www.youtube.com/watch?v=GJr9ITHsOsM"
419
- },
420
- {
421
- "video_id": "w7TI-XYMzmQ",
422
- "caption": "",
423
- "question": "Which style of music will this video present?",
424
- "video_classes": [
425
- "music"
426
- ],
427
- "answers": [
428
- "pop"
429
- ],
430
- "video_link": "https://www.youtube.com/watch?v=w7TI-XYMzmQ"
431
- },
432
- {
433
- "video_id": "-skZ3lbEBww",
434
- "caption": "",
435
- "question": "Which style of music will this video present?",
436
- "video_classes": [
437
- "music"
438
- ],
439
- "answers": [
440
- "blues"
441
- ],
442
- "video_link": "https://www.youtube.com/watch?v=-skZ3lbEBww"
443
- },
444
- {
445
- "video_id": "yTgSQ2AQGAI",
446
- "caption": "",
447
- "question": "What is the singer of this song?",
448
- "video_classes": [
449
- "music"
450
- ],
451
- "answers": [
452
- "lady gaga"
453
- ],
454
- "video_link": "https://www.youtube.com/watch?v=yTgSQ2AQGAI"
455
- },
456
- {
457
- "video_id": "5vfL2NzVtaQ",
458
- "caption": "",
459
- "question": "Which country's history will this video talk about?",
460
- "video_classes": [
461
- "history"
462
- ],
463
- "answers": [
464
- "uk",
465
- "united kingdom"
466
- ],
467
- "video_link": "https://www.youtube.com/watch?v=5vfL2NzVtaQ"
468
- },
469
- {
470
- "video_id": "CskfvgEItPA",
471
- "caption": "",
472
- "question": "Which country's history will this video talk about?",
473
- "video_classes": [
474
- "history"
475
- ],
476
- "answers": [
477
- "egypt",
478
- "ancient egypt"
479
- ],
480
- "video_link": "https://www.youtube.com/watch?v=CskfvgEItPA"
481
- },
482
- {
483
- "video_id": "70Qi4Nk3aJc",
484
- "caption": "",
485
- "question": "Which planet will this video talk about?",
486
- "video_classes": [
487
- "astronomy"
488
- ],
489
- "answers": [
490
- "mars"
491
- ],
492
- "video_link": "https://www.youtube.com/watch?v=70Qi4Nk3aJc"
493
- },
494
- {
495
- "video_id": "sGy60LO9cN4",
496
- "caption": "",
497
- "question": "Which two countries is this war between?",
498
- "video_classes": [
499
- "history"
500
- ],
501
- "answers": [
502
- "britain and rome",
503
- "rome and britain"
504
- ],
505
- "video_link": "https://www.youtube.com/watch?v=sGy60LO9cN4"
506
- },
507
- {
508
- "video_id": "YeB-1F-UKO0",
509
- "caption": "",
510
- "question": "Will this video talk about the history of chess?",
511
- "video_classes": [
512
- "history"
513
- ],
514
- "answers": [
515
- "yes"
516
- ],
517
- "video_link": "https://www.youtube.com/watch?v=YeB-1F-UKO0"
518
- },
519
- {
520
- "video_id": "jvsXQ7ytj3o",
521
- "caption": "",
522
- "question": "How many movies are being introduced in this video?",
523
- "video_classes": [
524
- "movie"
525
- ],
526
- "answers": [
527
- "10",
528
- "ten"
529
- ],
530
- "video_link": "https://www.youtube.com/watch?v=jvsXQ7ytj3o"
531
- },
532
- {
533
- "video_id": "jvsXQ7ytj3o",
534
- "caption": "",
535
- "question": "Which country's movies will this video discuss?",
536
- "video_classes": [
537
- "movie"
538
- ],
539
- "answers": [
540
- "germany", "german"
541
- ],
542
- "video_link": "https://www.youtube.com/watch?v=jvsXQ7ytj3o"
543
- },
544
- {
545
- "video_id": "Fwi34MiTj1Y",
546
- "caption": "",
547
- "question": "Which soccer player will this video talk about?",
548
- "video_classes": [
549
- "movie"
550
- ],
551
- "answers": [
552
- "cristiano ronaldo"
553
- ],
554
- "video_link": "https://www.youtube.com/watch?v=Fwi34MiTj1Y"
555
- },
556
- {
557
- "video_id": "v4CA65JyaVA",
558
- "caption": "",
559
- "question": "Which country will this video talk about?",
560
- "video_classes": [
561
- "geography"
562
- ],
563
- "answers": [
564
- "norway"
565
- ],
566
- "video_link": "https://www.youtube.com/watch?v=v4CA65JyaVA"
567
- },
568
- {
569
- "video_id": "ERBbFqALDdM",
570
- "caption": "",
571
- "question": "Which transportation will this video talk about?",
572
- "video_classes": [
573
- "transportation"
574
- ],
575
- "answers": [
576
- "subway"
577
- ],
578
- "video_link": "https://www.youtube.com/watch?v=ERBbFqALDdM"
579
- },
580
- {
581
- "video_id": "ELy9fOX8vtc",
582
- "caption": "",
583
- "question": "Which city's transportation will this video talk about?",
584
- "video_classes": [
585
- "transportation"
586
- ],
587
- "answers": [
588
- "hong kong"
589
- ],
590
- "video_link": "https://www.youtube.com/watch?v=ELy9fOX8vtc"
591
- },
592
- {
593
- "video_id": "tyK6hS4xn3Y",
594
- "caption": "",
595
- "question": "Which two transportations are being compared in this video?",
596
- "video_classes": [
597
- "transportation"
598
- ],
599
- "answers": [
600
- "trains and pods",
601
- "pods and trains",
602
- "trains vs pods",
603
- "pods vs trains"
604
- ],
605
- "video_link": "https://www.youtube.com/watch?v=tyK6hS4xn3Y"
606
- },
607
- {
608
- "video_id": "mvmuCPvRoWQ",
609
- "caption": "",
610
- "question": "Which theory will this video talk about?",
611
- "video_classes": [
612
- "academic"
613
- ],
614
- "answers": [
615
- "group theory",
616
- "group"
617
- ],
618
- "video_link": "https://www.youtube.com/watch?v=mvmuCPvRoWQ"
619
- },
620
- {
621
- "video_id": "hrTQipWp6co",
622
- "caption": "",
623
- "question": "Will this video teach me how to use github?",
624
- "video_classes": [
625
- "academic"
626
- ],
627
- "answers": [
628
- "yes"
629
- ],
630
- "video_link": "https://www.youtube.com/watch?v=hrTQipWp6co"
631
- },
632
- {
633
- "video_id": "T53EyLPj4UM",
634
- "caption": "",
635
- "question": "Which company will this video talk about?",
636
- "video_classes": [
637
- "business company"
638
- ],
639
- "answers": [
640
- "google"
641
- ],
642
- "video_link": "https://www.youtube.com/watch?v=T53EyLPj4UM"
643
- },
644
- {
645
- "video_id": "8JJ101D3knE",
646
- "caption": "",
647
- "question": "Is this video for beginners learning Git?",
648
- "video_classes": [
649
- "academic"
650
- ],
651
- "answers": [
652
- "yes"
653
- ],
654
- "video_link": "https://www.youtube.com/watch?v=8JJ101D3knE"
655
- },
656
- {
657
- "video_id": "en6YPAgc6WM",
658
- "caption": "",
659
- "question": "If I want to learn Java, is this video the right choice?",
660
- "video_classes": [
661
- "academic"
662
- ],
663
- "answers": [
664
- "no"
665
- ],
666
- "video_link": "https://www.youtube.com/watch?v=en6YPAgc6WM"
667
- },
668
- {
669
- "video_id": "EcVZVel6nS0",
670
- "caption": "",
671
- "question": "There are two types of chefs in this competition: one is a professional chef. What's the other one?",
672
- "video_classes": [
673
- "food"
674
- ],
675
- "answers": [
676
- "homecook",
677
- "home cook"
678
- ],
679
- "video_link": "https://www.youtube.com/watch?v=EcVZVel6nS0"
680
- },
681
- {
682
- "video_id": "upKrkNlq__0",
683
- "caption": "",
684
- "question": "In which city did this person eat the fried chicken?",
685
- "video_classes": [
686
- "food"
687
- ],
688
- "answers": [
689
- "los angeles",
690
- "la"
691
- ],
692
- "video_link": "https://www.youtube.com/watch?v=upKrkNlq__0"
693
- },
694
- {
695
- "video_id": "7zi0bi-RDj4",
696
- "caption": "",
697
- "question": "What type of steak is this person eating?",
698
- "video_classes": [
699
- "food"
700
- ],
701
- "answers": [
702
- "golden",
703
- "golden steak"
704
- ],
705
- "video_link": "https://www.youtube.com/watch?v=7zi0bi-RDj4"
706
- },
707
- {
708
- "video_id": "F2U0H9vTEgI",
709
- "caption": "",
710
- "question": "At which restaurant did this man have his 'all-you-can-eat' buffet?",
711
- "video_classes": [
712
- "food"
713
- ],
714
- "answers": [
715
- "pizza hut"
716
- ],
717
- "video_link": "https://www.youtube.com/watch?v=F2U0H9vTEgI"
718
- },
719
- {
720
- "video_id": "4h_tDMhzNrA",
721
- "caption": "",
722
- "question": "What is the name of this show?",
723
- "video_classes": [
724
- "food"
725
- ],
726
- "answers": [
727
- "kitchen nightmares",
728
- "kitchen nightmare"
729
- ],
730
- "video_link": "https://www.youtube.com/watch?v=4h_tDMhzNrA"
731
- },
732
- {
733
- "video_id": "NGbFtTYQpus",
734
- "caption": "",
735
- "question": "What is the name of this master chef?",
736
- "video_classes": [
737
- "food"
738
- ],
739
- "answers": [
740
- "jon yao"
741
- ],
742
- "video_link": "https://www.youtube.com/watch?v=NGbFtTYQpus"
743
- },
744
- {
745
- "video_id": "paZNnygxUiY",
746
- "caption": "",
747
- "question": "What is the name on the blue jersey on the right?",
748
- "video_classes": [
749
- "sports"
750
- ],
751
- "answers": [
752
- "kevin"
753
- ],
754
- "video_link": "https://www.youtube.com/watch?v=paZNnygxUiY"
755
- },
756
- {
757
- "video_id": "bBo2L_yyhuo",
758
- "caption": "",
759
- "question": "Who is the sponsor of the team wearing the blue and white jersey?",
760
- "video_classes": [
761
- "sports"
762
- ],
763
- "answers": [
764
- "visa"
765
- ],
766
- "video_link": "https://www.youtube.com/watch?v=bBo2L_yyhuo"
767
- },
768
- {
769
- "video_id": "avnBnnfSVoc",
770
- "caption": "",
771
- "question": "Which store is the woman shopping at?",
772
- "video_classes": [
773
- "shopping"
774
- ],
775
- "answers": [
776
- "ross"
777
- ],
778
- "video_link": "https://www.youtube.com/watch?v=avnBnnfSVoc"
779
- },
780
- {
781
- "video_id": "_4KNOp7egC8",
782
- "caption": "",
783
- "question": "Which store are the women shopping at?",
784
- "video_classes": [
785
- "shopping"
786
- ],
787
- "answers": [
788
- "target"
789
- ],
790
- "video_link": "https://www.youtube.com/watch?v=_4KNOp7egC8"
791
- },
792
- {
793
- "video_id": "zR7qajWj3xc",
794
- "caption": "",
795
- "question": "What type of shoes does this store sell?",
796
- "video_classes": [
797
- "shopping"
798
- ],
799
- "answers": [
800
- "sneaker",
801
- "sneakers"
802
- ],
803
- "video_link": "https://www.youtube.com/watch?v=zR7qajWj3xc"
804
- },
805
- {
806
- "video_id": "w9Co2LAtJIc",
807
- "caption": "",
808
- "question": "Which store is the woman shopping at?",
809
- "video_classes": [
810
- "shopping"
811
- ],
812
- "answers": [
813
- "sephora"
814
- ],
815
- "video_link": "https://www.youtube.com/watch?v=w9Co2LAtJIc"
816
- },
817
- {
818
- "video_id": "wu8TKc66pgM",
819
- "caption": "",
820
- "question": "Which style of music will this video present?",
821
- "video_classes": [
822
- "music"
823
- ],
824
- "answers": [
825
- "jazz"
826
- ],
827
- "video_link": "https://www.youtube.com/watch?v=wu8TKc66pgM"
828
- },
829
- {
830
- "video_id": "68J6G2vrgcc",
831
- "caption": "",
832
- "question": "Which country's supermarkets are presented in this video?",
833
- "video_classes": [
834
- "geography"
835
- ],
836
- "answers": [
837
- "china"
838
- ],
839
- "video_link": "https://www.youtube.com/watch?v=68J6G2vrgcc"
840
- },
841
- {
842
- "video_id": "BA9Y6_zMHj8",
843
- "caption": "",
844
- "question": "Which country's supermarkets are presented in this video?",
845
- "video_classes": [
846
- "geography"
847
- ],
848
- "answers": [
849
- "canada"
850
- ],
851
- "video_link": "https://www.youtube.com/watch?v=BA9Y6_zMHj8"
852
- },
853
- {
854
- "video_id": "gqOetXxZGpc",
855
- "caption": "",
856
- "question": "Which country's supermarkets are presented in this video?",
857
- "video_classes": [
858
- "geography"
859
- ],
860
- "answers": [
861
- "germany"
862
- ],
863
- "video_link": "https://www.youtube.com/watch?v=gqOetXxZGpc"
864
- },
865
- {
866
- "video_id": "eX8lCtNLFHY",
867
- "caption": "",
868
- "question": "Which country's supermarkets are presented in this video?",
869
- "video_classes": [
870
- "geography"
871
- ],
872
- "answers": [
873
- "japan"
874
- ],
875
- "video_link": "https://www.youtube.com/watch?v=eX8lCtNLFHY"
876
- },
877
- {
878
- "video_id": "xCNuczjpsJ4",
879
- "caption": "",
880
- "question": "Which store is presented in this video?",
881
- "video_classes": [
882
- "shopping"
883
- ],
884
- "answers": [
885
- "walmart"
886
- ],
887
- "video_link": "https://www.youtube.com/watch?v=xCNuczjpsJ4"
888
- },
889
- {
890
- "video_id": "Ex5_d0NyWO8",
891
- "caption": "",
892
- "question": "Which city is presented in this video?",
893
- "video_classes": [
894
- "geography"
895
- ],
896
- "answers": [
897
- "toronto"
898
- ],
899
- "video_link": "https://www.youtube.com/watch?v=Ex5_d0NyWO8"
900
- },
901
- {
902
- "video_id": "Z7FJQok__HE",
903
- "caption": "",
904
- "question": "Which two planets are presented in this video?",
905
- "video_classes": [
906
- "astronomy"
907
- ],
908
- "answers": [
909
- "pluto and mars",
910
- "mars and pluto"
911
- ],
912
- "video_link": "https://www.youtube.com/watch?v=Z7FJQok__HE"
913
- },
914
- {
915
- "video_id": "ZEyAs3NWH4A",
916
- "caption": "",
917
- "question": "Which planet are presented in this video?",
918
- "video_classes": [
919
- "astronomy"
920
- ],
921
- "answers": [
922
- "mars"
923
- ],
924
- "video_link": "https://www.youtube.com/watch?v=ZEyAs3NWH4A"
925
- },
926
- {
927
- "video_id": "Rf5E2FSFOjU",
928
- "caption": "",
929
- "question": "Which planet are presented in this video?",
930
- "video_classes": [
931
- "astronomy"
932
- ],
933
- "answers": [
934
- "jupiter"
935
- ],
936
- "video_link": "https://www.youtube.com/watch?v=Rf5E2FSFOjU"
937
- },
938
- {
939
- "video_id": "D5XPuS-Y0fg",
940
- "caption": "",
941
- "question": "Which planet are presented in this video?",
942
- "video_classes": [
943
- "astronomy"
944
- ],
945
- "answers": [
946
- "pluto"
947
- ],
948
- "video_link": "https://www.youtube.com/watch?v=D5XPuS-Y0fg"
949
- },
950
- {
951
- "video_id": "R5pYI0vjI6k",
952
- "caption": "",
953
- "question": "Which planet are presented in this video?",
954
- "video_classes": [
955
- "astronomy"
956
- ],
957
- "answers": [
958
- "neptune"
959
- ],
960
- "video_link": "https://www.youtube.com/watch?v=R5pYI0vjI6k"
961
- },
962
- {
963
- "video_id": "bgqGdIoa52s",
964
- "caption": "",
965
- "question": "What game is presented in this video?",
966
- "video_classes": [
967
- "entertainment"
968
- ],
969
- "answers": [
970
- "spider-man",
971
- "spider-man 2",
972
- "spider man",
973
- "spider man 2"
974
- ],
975
- "video_link": "https://www.youtube.com/watch?v=bgqGdIoa52s"
976
- },
977
- {
978
- "video_id": "QRwK5BakVS0",
979
- "caption": "",
980
- "question": "Which instrument is used to play these songs in this video?",
981
- "video_classes": [
982
- "music"
983
- ],
984
- "answers": [
985
- "piano"
986
- ],
987
- "video_link": "https://www.youtube.com/watch?v=QRwK5BakVS0"
988
- },
989
- {
990
- "video_id": "WakQ6W_RtwE",
991
- "caption": "",
992
- "question": "How many songs are going to be played in this video?",
993
- "video_classes": [
994
- "music"
995
- ],
996
- "answers": [
997
- "forty",
998
- "40"
999
- ],
1000
- "video_link": "https://www.youtube.com/watch?v=WakQ6W_RtwE"
1001
- },
1002
- {
1003
- "video_id": "OPID_b1k_cw",
1004
- "caption": "",
1005
- "question": "Which company will this video talk about?",
1006
- "video_classes": [
1007
- "business company"
1008
- ],
1009
- "answers": [
1010
- "nvidia"
1011
- ],
1012
- "video_link": "https://www.youtube.com/watch?v=OPID_b1k_cw"
1013
- },
1014
- {
1015
- "video_id": "5AKl_cEB26c",
1016
- "caption": "",
1017
- "question": "Which company's product will be introduced in this video?",
1018
- "video_classes": [
1019
- "business company"
1020
- ],
1021
- "answers": [
1022
- "meta"
1023
- ],
1024
- "video_link": "https://www.youtube.com/watch?v=5AKl_cEB26c"
1025
- },
1026
- {
1027
- "video_id": "K6zV9XnadGg",
1028
- "caption": "",
1029
- "question": "Which company will this video talk about?",
1030
- "video_classes": [
1031
- "business company"
1032
- ],
1033
- "answers": [
1034
- "intel"
1035
- ],
1036
- "video_link": "https://www.youtube.com/watch?v=K6zV9XnadGg"
1037
- },
1038
- {
1039
- "video_id": "VbeM8Lf7s5A",
1040
- "caption": "",
1041
- "question": "Which company will this video talk about?",
1042
- "video_classes": [
1043
- "business company"
1044
- ],
1045
- "answers": [
1046
- "apple"
1047
- ],
1048
- "video_link": "https://www.youtube.com/watch?v=VbeM8Lf7s5A"
1049
- },
1050
- {
1051
- "video_id": "1ZOw4MLOiio",
1052
- "caption": "",
1053
- "question": "Which company will this video talk about?",
1054
- "video_classes": [
1055
- "business company"
1056
- ],
1057
- "answers": [
1058
- "microsoft"
1059
- ],
1060
- "video_link": "https://www.youtube.com/watch?v=1ZOw4MLOiio"
1061
- },
1062
- {
1063
- "video_id": "N2osuAknnXs",
1064
- "caption": "",
1065
- "question": "What product is Microsoft introducing in this video?",
1066
- "video_classes": [
1067
- "technology"
1068
- ],
1069
- "answers": [
1070
- "codi"
1071
- ],
1072
- "video_link": "https://www.youtube.com/watch?v=N2osuAknnXs"
1073
- },
1074
- {
1075
- "video_id": "TX9qSaGXFyg",
1076
- "caption": "",
1077
- "question": "What product is Apple introducing in this video?",
1078
- "video_classes": [
1079
- "technology"
1080
- ],
1081
- "answers": [
1082
- "vision pro"
1083
- ],
1084
- "video_link": "https://www.youtube.com/watch?v=TX9qSaGXFyg"
1085
- },
1086
- {
1087
- "video_id": "8nQZU1WgwcE",
1088
- "caption": "",
1089
- "question": "Which country is fighting with Britain in the war depicted in this video?",
1090
- "video_classes": [
1091
- "history"
1092
- ],
1093
- "answers": [
1094
- "zulu"
1095
- ],
1096
- "video_link": "https://www.youtube.com/watch?v=8nQZU1WgwcE"
1097
- },
1098
- {
1099
- "video_id": "szFjxmY7jQA",
1100
- "caption": "",
1101
- "question": "Which civilization is introduced in this video?",
1102
- "video_classes": [
1103
- "history"
1104
- ],
1105
- "answers": [
1106
- "sumer",
1107
- "sumerians"
1108
- ],
1109
- "video_link": "https://www.youtube.com/watch?v=szFjxmY7jQA"
1110
- },
1111
- {
1112
- "video_id": "ISNeEoFlyuM",
1113
- "caption": "",
1114
- "question": "Which airline is this video talking about?",
1115
- "video_classes": [
1116
- "transportation"
1117
- ],
1118
- "answers": [
1119
- "lufthansa"
1120
- ],
1121
- "video_link": "https://www.youtube.com/watch?v=ISNeEoFlyuM"
1122
- },
1123
- {
1124
- "video_id": "JFPHMHNI_nM",
1125
- "caption": "",
1126
- "question": "To which company does the train in this video belong?",
1127
- "video_classes": [
1128
- "transportation"
1129
- ],
1130
- "answers": [
1131
- "brightline"
1132
- ],
1133
- "video_link": "https://www.youtube.com/watch?v=JFPHMHNI_nM"
1134
- },
1135
- {
1136
- "video_id": "oCl9pbiCUt4",
1137
- "caption": "",
1138
- "question": "What type of train will this video discuss?",
1139
- "video_classes": [
1140
- "transportation"
1141
- ],
1142
- "answers": [
1143
- "doubleheaded steam train",
1144
- "double-headed steam train"
1145
- ],
1146
- "video_link": "https://www.youtube.com/watch?v=oCl9pbiCUt4"
1147
- },
1148
- {
1149
- "video_id": "UAx70NI5aaM",
1150
- "caption": "",
1151
- "question": "Which business company's stock is the news mentioning?",
1152
- "video_classes": [
1153
- "technology"
1154
- ],
1155
- "answers": [
1156
- "intel",
1157
- "intc"
1158
- ],
1159
- "video_link": "https://www.youtube.com/watch?v=UAx70NI5aaM"
1160
- },
1161
- {
1162
- "video_id": "OiwlPEggq9I",
1163
- "caption": "",
1164
- "question": "What kind of test is this video about?",
1165
- "video_classes": [
1166
- "technology"
1167
- ],
1168
- "answers": [
1169
- "gaming test",
1170
- "gaming"
1171
- ],
1172
- "video_link": "https://www.youtube.com/watch?v=OiwlPEggq9I"
1173
- },
1174
- {
1175
- "video_id": "gMsQO5u7-NQ",
1176
- "caption": "",
1177
- "question": "Who is calling?",
1178
- "video_classes": [
1179
- "technology"
1180
- ],
1181
- "answers": [
1182
- "bathany",
1183
- "bethany"
1184
- ],
1185
- "video_link": "https://www.youtube.com/watch?v=gMsQO5u7-NQ"
1186
- },
1187
- {
1188
- "video_id": "Py_Z4makIpQ",
1189
- "caption": "",
1190
- "question": "What is free as mentioned in this back to school offer?",
1191
- "video_classes": [
1192
- "technology"
1193
- ],
1194
- "answers": [
1195
- "airpods",
1196
- "airpod"
1197
- ],
1198
- "video_link": "https://www.youtube.com/watch?v=Py_Z4makIpQ"
1199
- },
1200
- {
1201
- "video_id": "KQ8HIIot8tQ",
1202
- "caption": "",
1203
- "question": "What's the name of the brand on this speaker?",
1204
- "video_classes": [
1205
- "technology"
1206
- ],
1207
- "answers": [
1208
- "marshall"
1209
- ],
1210
- "video_link": "https://www.youtube.com/watch?v=KQ8HIIot8tQ"
1211
- },
1212
- {
1213
- "video_id": "aMYSdwcybIg",
1214
- "caption": "",
1215
- "question": "There are two devices being compared on this Python test, what chip is the right hand side computer using?",
1216
- "video_classes": [
1217
- "technology"
1218
- ],
1219
- "answers": [
1220
- "m2 pro",
1221
- "m2pro"
1222
- ],
1223
- "video_link": "https://www.youtube.com/watch?v=aMYSdwcybIg"
1224
- },
1225
- {
1226
- "video_id": "JzpUfRv45yY",
1227
- "caption": "",
1228
- "question": "According to the tweet shown, which mouse is the best mouse for Mac?",
1229
- "video_classes": [
1230
- "technology"
1231
- ],
1232
- "answers": [
1233
- "magic mouse",
1234
- "magic"
1235
- ],
1236
- "video_link": "https://www.youtube.com/watch?v=JzpUfRv45yY"
1237
- },
1238
- {
1239
- "video_id": "NHyEjW192Rc",
1240
- "caption": "",
1241
- "question": "Does this man seem to be trying to promote Meesho?",
1242
- "video_classes": [
1243
- "technology"
1244
- ],
1245
- "answers": [
1246
- "yes"
1247
- ],
1248
- "video_link": "https://www.youtube.com/watch?v=NHyEjW192Rc"
1249
- },
1250
- {
1251
- "video_id": "Qn05e9Yjg0Y",
1252
- "caption": "",
1253
- "question": "Which sport's tech products is the video trying to review?",
1254
- "video_classes": [
1255
- "technology"
1256
- ],
1257
- "answers": [
1258
- "football"
1259
- ],
1260
- "video_link": "https://www.youtube.com/watch?v=Qn05e9Yjg0Y"
1261
- }
1262
- ]
1263
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
download_img.sh ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+
3
+ echo "Downloading images..."
4
+
5
+ mkdir -p images_new
6
+
7
+ # Read the CSV file
8
+ input="youtube_new.csv"
9
+ row_num=0 # Initialize a row counter
10
+
11
+ while IFS=',' read -r line || [[ -n "$line" ]]
12
+ do
13
+ row_num=$((row_num + 1)) # Increment the row counter
14
+
15
+ # Skip the first row
16
+ if [ $row_num -eq 1 ]; then
17
+ continue
18
+ fi
19
+
20
+ # Locate the "video_id" column (assuming it's the first column)
21
+ video_id=$(echo $line | cut -d',' -f 1)
22
+
23
+ url="https://img.youtube.com/vi/${video_id}/maxresdefault.jpg"
24
+ output="images_new/${video_id}.jpg"
25
+ wget -O "$output" "$url" 2>/dev/null
26
+
27
+ # Check if wget was successful and the file is a proper image
28
+ if [[ $? -ne 0 || ! $(file --mime-type -b "$output") =~ ^image/ ]]; then
29
+ echo "Failed to download or invalid image for video_id: $video_id"
30
+ rm -f "$output" # Optional: remove the invalid file
31
+ fi
32
+ done < "$input"
33
+
34
+
35
+
36
+
37
+ # #!/bin/bash
38
+
39
+ # mkdir -p images_new
40
+
41
+ # # Read the CSV file
42
+ # input="youtube_new.csv"
43
+ # while IFS=',' read -r line || [[ -n "$line" ]]
44
+ # do
45
+ # # Locate the "video_id" column (assuming it's the first column)
46
+ # video_id=$(echo $line | cut -d',' -f 1)
47
+
48
+ # url="https://img.youtube.com/vi/${video_id}/maxresdefault.jpg"
49
+ # output="images_new/${video_id}.jpg"
50
+ # wget -O "$output" "$url" 2>/dev/null
51
+
52
+ # # Check if wget was successful and the file is a proper image
53
+ # if [[ $? -ne 0 || ! $(file --mime-type -b "$output") =~ ^image/ ]]; then
54
+ # echo "Failed to download or invalid image for video_id: $video_id"
55
+ # rm -f "$output" # Optional: remove the invalid file
56
+ # fi
57
+ # done < "$input"
58
+
img/-skZ3lbEBww.jpg DELETED

Git LFS Details

  • SHA256: 29b8ee676107d348657f5404f056832a81dbd89110087ac75c9863bcfddae441
  • Pointer size: 131 Bytes
  • Size of remote file: 235 kB
img/0LhoYwUQ7VM.jpg DELETED

Git LFS Details

  • SHA256: e48a4b3eae2098c6da5e63bd37f4a88b45d94cc0520d3e0d5471694db22586bb
  • Pointer size: 131 Bytes
  • Size of remote file: 128 kB
img/0Q80gJA2Kao.jpg DELETED

Git LFS Details

  • SHA256: db5421708bc0dcf7ada352537d8b374e81346ea8e93f198a7c3ffe724483734e
  • Pointer size: 131 Bytes
  • Size of remote file: 163 kB
img/1ZOw4MLOiio.jpg DELETED

Git LFS Details

  • SHA256: 30611ae34220fd63aade69fa4ef0d5e2debc0d2e4cd53f28062c3edec5c6b5ba
  • Pointer size: 130 Bytes
  • Size of remote file: 93.6 kB
img/3eVaHYFp8rc.jpg DELETED

Git LFS Details

  • SHA256: e3639e6fb5132973e4837924dc7e8d1ba2d13b74b4b095bc7dc13e99c1b9405f
  • Pointer size: 130 Bytes
  • Size of remote file: 99.8 kB
img/4h_tDMhzNrA.jpg DELETED

Git LFS Details

  • SHA256: dbbdd452a77acafee0abfa88beb4a46404656c32a73b82dcd7f2cc16a7af2399
  • Pointer size: 131 Bytes
  • Size of remote file: 106 kB
img/5AKl_cEB26c.jpg DELETED

Git LFS Details

  • SHA256: c850543be945a5d67e16631bf7993983ed2fccf3130c26861fb90875fc553b72
  • Pointer size: 130 Bytes
  • Size of remote file: 76.3 kB
img/5q87K1WaoFI.jpg DELETED

Git LFS Details

  • SHA256: 850d9498607e154c2cede986e7693bffdaca59bc2cc8d3f6b4428b0dbe896eb2
  • Pointer size: 131 Bytes
  • Size of remote file: 142 kB
img/5vfL2NzVtaQ.jpg DELETED

Git LFS Details

  • SHA256: 8224eefac00e135f2c2ad44d4d2b2b6750f2cac08c6c654f6c4d5ab0df6af152
  • Pointer size: 131 Bytes
  • Size of remote file: 140 kB
img/68J6G2vrgcc.jpg DELETED

Git LFS Details

  • SHA256: d10507aea9c99edaa3da0169ff090407a34a3cef39e04c83346a323219ac44b3
  • Pointer size: 131 Bytes
  • Size of remote file: 168 kB
img/6YqygpSEtsI.jpg DELETED

Git LFS Details

  • SHA256: 50d7ef36505a2e92abc2e2c473f92f7acc57e430f3ef9ccd230f0ee2a7658811
  • Pointer size: 131 Bytes
  • Size of remote file: 142 kB
img/70Qi4Nk3aJc.jpg DELETED

Git LFS Details

  • SHA256: 29f4ac4063ac8b82af9e4a0d662c51ad13deae4e5c69360f6f1668215f801708
  • Pointer size: 131 Bytes
  • Size of remote file: 141 kB
img/7zi0bi-RDj4.jpg DELETED

Git LFS Details

  • SHA256: 84e0e01839b12edbbd9a842f000df4933236a56576d97178e20b279d4f3b925a
  • Pointer size: 131 Bytes
  • Size of remote file: 123 kB
img/8JJ101D3knE.jpg DELETED

Git LFS Details

  • SHA256: e4a440f8ee6d8e0f198cb1666282dfcf56067484d57840cc5c77255253ad0388
  • Pointer size: 130 Bytes
  • Size of remote file: 66.7 kB
img/8nQZU1WgwcE.jpg DELETED

Git LFS Details

  • SHA256: e35efa9793e4e016a52ace7823b99661194aa377c248bc1e05b549e72a2cac43
  • Pointer size: 131 Bytes
  • Size of remote file: 149 kB
img/9rhadTURsrw.jpg DELETED

Git LFS Details

  • SHA256: 5459cd5963de3a3553ae0c03d8c9bf51e1cc499443ae0ebec9b84e89056aeb25
  • Pointer size: 131 Bytes
  • Size of remote file: 117 kB
img/BA9Y6_zMHj8.jpg DELETED

Git LFS Details

  • SHA256: 07c650a86123a767f1bda2ff6af2ec53c2c235f34effe9750e24ac7d97a79d37
  • Pointer size: 131 Bytes
  • Size of remote file: 241 kB
img/CskfvgEItPA.jpg DELETED

Git LFS Details

  • SHA256: b6cd97a45a3a58ee8fed61567f3bde4004d6eafba377ba7ac8a0763bed62371d
  • Pointer size: 131 Bytes
  • Size of remote file: 162 kB
img/CwzaVzIhgmk.jpg DELETED

Git LFS Details

  • SHA256: c15cfe63f2fe82dfaccd346701c8f4a279f710209fa5eb0015bc35b4fe6ee7a7
  • Pointer size: 131 Bytes
  • Size of remote file: 181 kB
img/D5XPuS-Y0fg.jpg DELETED

Git LFS Details

  • SHA256: 36143b8a67f44d2788fe88b89db7468ddf2af4afa318324d321c9ccf9ce7e1bc
  • Pointer size: 131 Bytes
  • Size of remote file: 391 kB
img/DCu9xawHJaw.jpg DELETED

Git LFS Details

  • SHA256: b46c43055eee9e11cff4f0acb84ab9916515a39a37f0899a24ecebdfbcbf4c5e
  • Pointer size: 131 Bytes
  • Size of remote file: 205 kB
img/ELy9fOX8vtc.jpg DELETED

Git LFS Details

  • SHA256: 655ba3580b1eb4bf710fc144fd1c5dcde7ece92a18a2dbb3abbccdce0639dce8
  • Pointer size: 131 Bytes
  • Size of remote file: 123 kB
img/ERBbFqALDdM.jpg DELETED

Git LFS Details

  • SHA256: 6dc290a6e62d9801a09af1734da65a0ec02efb32eecae261f548aa4f8a95f6bb
  • Pointer size: 131 Bytes
  • Size of remote file: 158 kB
img/EcVZVel6nS0.jpg DELETED

Git LFS Details

  • SHA256: 53bf8b1f670a60199ad0898185245989f23830ae268e23751fdbc8678845984d
  • Pointer size: 131 Bytes
  • Size of remote file: 124 kB
img/Ex5_d0NyWO8.jpg DELETED

Git LFS Details

  • SHA256: 61f4b5c7eb374c538658313650db67874b474ca404532351d9bec9fabe702d13
  • Pointer size: 131 Bytes
  • Size of remote file: 277 kB
img/F2U0H9vTEgI.jpg DELETED

Git LFS Details

  • SHA256: 464bb6e97715a1dd7278f063bd641b3350463419aa3cab55e2fd8ac8040f7498
  • Pointer size: 131 Bytes
  • Size of remote file: 162 kB
img/Fwi34MiTj1Y.jpg DELETED

Git LFS Details

  • SHA256: ed5531e13a312fd82120675c2c02c660760662e5de945ad5fea98a7da1eb86f2
  • Pointer size: 131 Bytes
  • Size of remote file: 148 kB
img/GJr9ITHsOsM.jpg DELETED

Git LFS Details

  • SHA256: 11af77fd41d84f789a6fc7468beb6b18884c47b85ecda6a1a4188858d1f3a4c6
  • Pointer size: 131 Bytes
  • Size of remote file: 146 kB
img/HjBo--1n8lI.jpg DELETED

Git LFS Details

  • SHA256: a002d722bc349affd1694e9d578a7764de3e49e0c825384517d3ce8f0a4a32d8
  • Pointer size: 131 Bytes
  • Size of remote file: 134 kB
img/I4gWrboTXwA.jpg DELETED

Git LFS Details

  • SHA256: 2b3db1d4adc4019bb52822dda9f1ec09d9ece8387e48a4cd311d7ef04a57f9f0
  • Pointer size: 131 Bytes
  • Size of remote file: 131 kB
img/ISNeEoFlyuM.jpg DELETED

Git LFS Details

  • SHA256: ff819fb7911617f771d38974e03c7507ed8e460315f983d392cfc1a4a3df26ff
  • Pointer size: 130 Bytes
  • Size of remote file: 89.2 kB
img/JCfI9Xlj7Io.jpg DELETED

Git LFS Details

  • SHA256: 7c3f7669fad6268b1f208e6e320f2a5186e7bda4b1b7162b661b73f0df78f2d4
  • Pointer size: 131 Bytes
  • Size of remote file: 185 kB
img/JFPHMHNI_nM.jpg DELETED

Git LFS Details

  • SHA256: 0b486f81c7d136f9f2e378b5f0561b96a031a51ca87b6101031354b40787104f
  • Pointer size: 130 Bytes
  • Size of remote file: 98 kB
img/JzpUfRv45yY.jpg DELETED

Git LFS Details

  • SHA256: 665cd2c0f1670af89b2d83a4191da70de9f5c886d8b7ad7cf9bd2b1ac5e0fbc8
  • Pointer size: 131 Bytes
  • Size of remote file: 114 kB
img/K6zV9XnadGg.jpg DELETED

Git LFS Details

  • SHA256: 00976a1260da16d8c76e3e6485b8c3786fb60ed60acfd26b725f38b04d54b654
  • Pointer size: 130 Bytes
  • Size of remote file: 90.5 kB
img/KQ8HIIot8tQ.jpg DELETED

Git LFS Details

  • SHA256: 1714251abe0cbafc2a115e5a1d641dca34d449bf69396756bb9d734439bc3727
  • Pointer size: 131 Bytes
  • Size of remote file: 299 kB
img/N2osuAknnXs.jpg DELETED

Git LFS Details

  • SHA256: 2286e1b956d894e3caf3e931ff146c377114f932a3334704ca4b548382f2d9ac
  • Pointer size: 131 Bytes
  • Size of remote file: 128 kB
img/NGbFtTYQpus.jpg DELETED

Git LFS Details

  • SHA256: 50373849a1009799accc34d6053f9f191098b439fe9634effd3b3786aba8ff4f
  • Pointer size: 131 Bytes
  • Size of remote file: 141 kB
img/NHyEjW192Rc.jpg DELETED

Git LFS Details

  • SHA256: a115a6718721f93ab00f82191bcb96afa1bfb3b4e586c98e82f93983b4c1d098
  • Pointer size: 131 Bytes
  • Size of remote file: 113 kB
img/NLA6-QnMOsU.jpg DELETED

Git LFS Details

  • SHA256: e38cc560a0601feaa5e132a13baa09f6026c257fd1059720dfd009e34177f91d
  • Pointer size: 131 Bytes
  • Size of remote file: 330 kB
img/OLhoAm-zGLM.jpg DELETED

Git LFS Details

  • SHA256: 08ea55265247855e040d4ee1e5676bb7fe38a50e98c27d4691048798ab6358fd
  • Pointer size: 131 Bytes
  • Size of remote file: 107 kB
img/OPID_b1k_cw.jpg DELETED

Git LFS Details

  • SHA256: 681f4e08480bd71304b8381475c2f5cd9b66606f8cf1389bbb4780d8063d1859
  • Pointer size: 131 Bytes
  • Size of remote file: 131 kB
img/OiwlPEggq9I.jpg DELETED

Git LFS Details

  • SHA256: ac5768bb80322e62c058ed093403c717b9c660d82bf8181b718416b2fff2f999
  • Pointer size: 131 Bytes
  • Size of remote file: 112 kB
img/Py_Z4makIpQ.jpg DELETED

Git LFS Details

  • SHA256: 4f2e3c980f712b33c042b12e64ecb91c39822cab17f5686a78c86e227b385fb7
  • Pointer size: 131 Bytes
  • Size of remote file: 159 kB
img/QRwK5BakVS0.jpg DELETED

Git LFS Details

  • SHA256: 760de9f4702173a6744bb61ae3359137a4deb69d4c75749cad55fbe7d20480de
  • Pointer size: 131 Bytes
  • Size of remote file: 142 kB