The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed because of a cast error
Error code:   DatasetGenerationCastError
Exception:    DatasetGenerationCastError
Message:      An error occurred while generating the dataset

All the data files must have the same columns, but at some point there are 6 new columns ({' 52', ' 368', ' 216', '/home/thecoderman/Downloads/flag_dataset/train/images/22c364fb24e940ae.jpg', ' 221', ' flag '}) and 2 missing columns ({'0', 'flag'}).

This happened while the csv dataset builder was generating data using

hf://datasets/BRAIN-TR/flag-dataset/flag_dataset/flags/maskDetectorData.csv (at revision 559f70700ed29184710746606cd34faa4afebd80)

Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 2011, in _prepare_split_single
                  writer.write_table(table)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 585, in write_table
                  pa_table = table_cast(pa_table, self._schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2302, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2256, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              /home/thecoderman/Downloads/flag_dataset/train/images/22c364fb24e940ae.jpg: string
               221: int64
               52: int64
               368: int64
               216: int64
               flag : string
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 1041
              to
              {'flag': Value(dtype='null', id=None), '0': Value(dtype='null', id=None)}
              because column names don't match
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1321, in compute_config_parquet_and_info_response
                  parquet_operations = convert_to_parquet(builder)
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 935, in convert_to_parquet
                  builder.download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1027, in download_and_prepare
                  self._download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1122, in _download_and_prepare
                  self._prepare_split(split_generator, **prepare_split_kwargs)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1882, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 2013, in _prepare_split_single
                  raise DatasetGenerationCastError.from_cast_error(
              datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
              
              All the data files must have the same columns, but at some point there are 6 new columns ({' 52', ' 368', ' 216', '/home/thecoderman/Downloads/flag_dataset/train/images/22c364fb24e940ae.jpg', ' 221', ' flag '}) and 2 missing columns ({'0', 'flag'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/BRAIN-TR/flag-dataset/flag_dataset/flags/maskDetectorData.csv (at revision 559f70700ed29184710746606cd34faa4afebd80)
              
              Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

/home/thecoderman/Downloads/flag_dataset/train/images/22c364fb24e940ae.jpg
string
221
int64
52
int64
368
int64
216
int64
flag
string
/home/thecoderman/Downloads/flag_dataset/train/images/23714939b98e37fc.jpg
458
232
566
389
flag
/home/thecoderman/Downloads/flag_dataset/train/images/05e7ab8373314186.jpg
63
348
125
586
flag
/home/thecoderman/Downloads/flag_dataset/train/images/05e7ab8373314186.jpg
64
375
93
526
flag
/home/thecoderman/Downloads/flag_dataset/train/images/05e7ab8373314186.jpg
128
253
194
657
flag
/home/thecoderman/Downloads/flag_dataset/train/images/05e7ab8373314186.jpg
139
237
198
568
flag
/home/thecoderman/Downloads/flag_dataset/train/images/05e7ab8373314186.jpg
184
168
290
696
flag
/home/thecoderman/Downloads/flag_dataset/train/images/05e7ab8373314186.jpg
262
194
354
704
flag
/home/thecoderman/Downloads/flag_dataset/train/images/05e7ab8373314186.jpg
335
63
477
726
flag
/home/thecoderman/Downloads/flag_dataset/train/images/05e7ab8373314186.jpg
402
0
715
716
flag
/home/thecoderman/Downloads/flag_dataset/train/images/05e7ab8373314186.jpg
646
0
1,023
768
flag
/home/thecoderman/Downloads/flag_dataset/train/images/66f3b09bfba92787.jpg
338
138
530
392
flag
/home/thecoderman/Downloads/flag_dataset/train/images/2255194c1ece8776.jpg
122
86
429
514
flag
/home/thecoderman/Downloads/flag_dataset/train/images/2255194c1ece8776.jpg
476
779
511
852
flag
/home/thecoderman/Downloads/flag_dataset/train/images/2255194c1ece8776.jpg
574
781
614
825
flag
/home/thecoderman/Downloads/flag_dataset/train/images/2255194c1ece8776.jpg
611
781
642
838
flag
/home/thecoderman/Downloads/flag_dataset/train/images/2255194c1ece8776.jpg
675
783
681
836
flag
/home/thecoderman/Downloads/flag_dataset/train/images/541169696a6f69fa.jpg
122
0
303
159
flag
/home/thecoderman/Downloads/flag_dataset/train/images/541169696a6f69fa.jpg
424
0
582
176
flag
/home/thecoderman/Downloads/flag_dataset/train/images/9ed90956196b6ef1.jpg
8
0
1,014
777
flag
/home/thecoderman/Downloads/flag_dataset/train/images/e2059c8c8a989719.jpg
121
93
304
470
flag
/home/thecoderman/Downloads/flag_dataset/train/images/e2059c8c8a989719.jpg
351
389
374
421
flag
/home/thecoderman/Downloads/flag_dataset/train/images/e2059c8c8a989719.jpg
391
390
408
429
flag
/home/thecoderman/Downloads/flag_dataset/train/images/e2059c8c8a989719.jpg
434
381
465
411
flag
/home/thecoderman/Downloads/flag_dataset/train/images/a21ffcce5d90467d.jpg
8
35
163
717
flag
/home/thecoderman/Downloads/flag_dataset/train/images/7abdef0a21e38b41.jpg
75
178
269
731
flag
/home/thecoderman/Downloads/flag_dataset/train/images/2bb4f1dc05935faf.jpg
614
31
685
235
flag
/home/thecoderman/Downloads/flag_dataset/train/images/2bb4f1dc05935faf.jpg
32
0
81
165
flag
/home/thecoderman/Downloads/flag_dataset/train/images/2bb4f1dc05935faf.jpg
55
0
119
178
flag
/home/thecoderman/Downloads/flag_dataset/train/images/2bb4f1dc05935faf.jpg
70
62
135
206
flag
/home/thecoderman/Downloads/flag_dataset/train/images/2bb4f1dc05935faf.jpg
84
177
140
225
flag
/home/thecoderman/Downloads/flag_dataset/train/images/2bb4f1dc05935faf.jpg
85
220
135
247
flag
/home/thecoderman/Downloads/flag_dataset/train/images/2bb4f1dc05935faf.jpg
429
128
473
257
flag
/home/thecoderman/Downloads/flag_dataset/train/images/2bb4f1dc05935faf.jpg
475
103
534
248
flag
/home/thecoderman/Downloads/flag_dataset/train/images/2bb4f1dc05935faf.jpg
534
61
600
236
flag
/home/thecoderman/Downloads/flag_dataset/train/images/2bb4f1dc05935faf.jpg
742
0
825
195
flag
/home/thecoderman/Downloads/flag_dataset/train/images/2bb4f1dc05935faf.jpg
930
0
1,016
120
flag
/home/thecoderman/Downloads/flag_dataset/train/images/51318d8de0cdee9e.jpg
274
65
648
555
flag
/home/thecoderman/Downloads/flag_dataset/train/images/6190929802218192.jpg
11
62
48
297
flag
/home/thecoderman/Downloads/flag_dataset/train/images/6190929802218192.jpg
57
59
110
338
flag
/home/thecoderman/Downloads/flag_dataset/train/images/6190929802218192.jpg
84
14
152
338
flag
/home/thecoderman/Downloads/flag_dataset/train/images/49065368115d4ed0.jpg
175
21
361
148
flag
/home/thecoderman/Downloads/flag_dataset/train/images/49065368115d4ed0.jpg
790
77
956
157
flag
/home/thecoderman/Downloads/flag_dataset/train/images/a370d5d2cb749ef6.jpg
334
93
531
418
flag
/home/thecoderman/Downloads/flag_dataset/train/images/a370d5d2cb749ef6.jpg
544
84
581
317
flag
/home/thecoderman/Downloads/flag_dataset/train/images/a370d5d2cb749ef6.jpg
940
280
1,008
387
flag
/home/thecoderman/Downloads/flag_dataset/train/images/a08487915cf96ab9.jpg
183
91
806
632
flag
/home/thecoderman/Downloads/flag_dataset/train/images/0daa9f0e6f97e236.jpg
344
561
425
864
flag
/home/thecoderman/Downloads/flag_dataset/train/images/0daa9f0e6f97e236.jpg
138
574
341
964
flag
/home/thecoderman/Downloads/flag_dataset/train/images/0daa9f0e6f97e236.jpg
479
567
553
897
flag
/home/thecoderman/Downloads/flag_dataset/train/images/848cc74895c524a1.jpg
387
298
447
455
flag
/home/thecoderman/Downloads/flag_dataset/train/images/848cc74895c524a1.jpg
424
183
531
439
flag
/home/thecoderman/Downloads/flag_dataset/train/images/848cc74895c524a1.jpg
716
500
936
683
flag
/home/thecoderman/Downloads/flag_dataset/train/images/1d29e0b4d8727d12.jpg
449
100
580
329
flag
/home/thecoderman/Downloads/flag_dataset/train/images/81b9f73d8ad0e085.jpg
77
21
267
411
flag
/home/thecoderman/Downloads/flag_dataset/train/images/81b9f73d8ad0e085.jpg
371
0
649
452
flag
/home/thecoderman/Downloads/flag_dataset/train/images/81b9f73d8ad0e085.jpg
768
0
1,024
627
flag
/home/thecoderman/Downloads/flag_dataset/train/images/4f17a63a7ed094d0.jpg
624
9
941
569
flag
/home/thecoderman/Downloads/flag_dataset/train/images/4f17a63a7ed094d0.jpg
463
467
498
527
flag
/home/thecoderman/Downloads/flag_dataset/train/images/4f17a63a7ed094d0.jpg
566
317
688
468
flag
/home/thecoderman/Downloads/flag_dataset/train/images/eaafbedab60ffb3f.jpg
369
169
469
288
flag
/home/thecoderman/Downloads/flag_dataset/train/images/eaafbedab60ffb3f.jpg
100
175
159
223
flag
/home/thecoderman/Downloads/flag_dataset/train/images/eaafbedab60ffb3f.jpg
204
171
256
228
flag
/home/thecoderman/Downloads/flag_dataset/train/images/eaafbedab60ffb3f.jpg
310
172
358
232
flag
/home/thecoderman/Downloads/flag_dataset/train/images/eaafbedab60ffb3f.jpg
472
173
528
241
flag
/home/thecoderman/Downloads/flag_dataset/train/images/eaafbedab60ffb3f.jpg
601
180
665
241
flag
/home/thecoderman/Downloads/flag_dataset/train/images/eaafbedab60ffb3f.jpg
696
177
767
228
flag
/home/thecoderman/Downloads/flag_dataset/train/images/eaafbedab60ffb3f.jpg
796
173
865
232
flag
/home/thecoderman/Downloads/flag_dataset/train/images/eaafbedab60ffb3f.jpg
882
172
960
232
flag
/home/thecoderman/Downloads/flag_dataset/train/images/eaafbedab60ffb3f.jpg
969
172
1,024
223
flag
/home/thecoderman/Downloads/flag_dataset/train/images/38337fb2cddcd146.jpg
872
25
974
393
flag
/home/thecoderman/Downloads/flag_dataset/train/images/38337fb2cddcd146.jpg
0
0
706
453
flag
/home/thecoderman/Downloads/flag_dataset/train/images/38337fb2cddcd146.jpg
969
49
1,024
235
flag
/home/thecoderman/Downloads/flag_dataset/train/images/63a6d885d4808c66.jpg
0
0
1,024
684
flag
/home/thecoderman/Downloads/flag_dataset/train/images/18e4d1b2cfaa725f.jpg
182
52
385
625
flag
/home/thecoderman/Downloads/flag_dataset/train/images/18e4d1b2cfaa725f.jpg
636
102
804
537
flag
/home/thecoderman/Downloads/flag_dataset/train/images/73e193ef31c9fc72.jpg
226
200
573
486
flag
/home/thecoderman/Downloads/flag_dataset/train/images/73e193ef31c9fc72.jpg
177
93
330
205
flag
/home/thecoderman/Downloads/flag_dataset/train/images/73e193ef31c9fc72.jpg
575
164
726
273
flag
/home/thecoderman/Downloads/flag_dataset/train/images/8a8a4f5406f4cdf3.jpg
253
373
477
1,011
flag
/home/thecoderman/Downloads/flag_dataset/train/images/2c6f7d7e6eb0128c.jpg
118
97
895
653
flag
/home/thecoderman/Downloads/flag_dataset/train/images/8365c3b7f8300ef0.jpg
0
113
269
680
flag
/home/thecoderman/Downloads/flag_dataset/train/images/0bab3680515cd0b6.jpg
184
303
263
587
flag
/home/thecoderman/Downloads/flag_dataset/train/images/bc9dc18b5c9e33d6.jpg
142
95
451
988
flag
/home/thecoderman/Downloads/flag_dataset/train/images/bc9dc18b5c9e33d6.jpg
638
12
685
693
flag
/home/thecoderman/Downloads/flag_dataset/train/images/9c21c8eaea7ed5a6.jpg
278
85
564
588
flag
/home/thecoderman/Downloads/flag_dataset/train/images/6610cf42fcc5f4fb.jpg
9
0
174
579
flag
/home/thecoderman/Downloads/flag_dataset/train/images/6610cf42fcc5f4fb.jpg
161
0
334
607
flag
/home/thecoderman/Downloads/flag_dataset/train/images/55447b6030eeaf67.jpg
11
845
38
857
flag
/home/thecoderman/Downloads/flag_dataset/train/images/55447b6030eeaf67.jpg
56
841
91
859
flag
/home/thecoderman/Downloads/flag_dataset/train/images/55447b6030eeaf67.jpg
101
847
122
859
flag
/home/thecoderman/Downloads/flag_dataset/train/images/55447b6030eeaf67.jpg
148
843
159
859
flag
/home/thecoderman/Downloads/flag_dataset/train/images/55447b6030eeaf67.jpg
196
843
213
859
flag
/home/thecoderman/Downloads/flag_dataset/train/images/55447b6030eeaf67.jpg
231
845
253
857
flag
/home/thecoderman/Downloads/flag_dataset/train/images/55447b6030eeaf67.jpg
303
847
324
862
flag
/home/thecoderman/Downloads/flag_dataset/train/images/55447b6030eeaf67.jpg
371
848
392
861
flag
/home/thecoderman/Downloads/flag_dataset/train/images/55447b6030eeaf67.jpg
507
189
574
268
flag
/home/thecoderman/Downloads/flag_dataset/train/images/55447b6030eeaf67.jpg
658
848
668
861
flag
/home/thecoderman/Downloads/flag_dataset/train/images/2cd791974d9333a5.jpg
68
171
161
477
flag
/home/thecoderman/Downloads/flag_dataset/train/images/2cd791974d9333a5.jpg
130
186
174
447
flag
/home/thecoderman/Downloads/flag_dataset/train/images/bd4395d9e173f596.jpg
96
0
936
742
flag
End of preview.