Dataset Preview
Duplicate
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 ({'ped_id', 'occlusion_state', 'prediction_subset', 'behaviour_state', 'intersection_type', 'motion_state'}) and 13 missing columns ({'exp_start_point', 'crossing', 'num_lanes', 'critical_point', 'intersection', 'gender', 'intention_prob', 'age', 'source_file', 'signalized', 'id', 'traffic_direction', 'crossing_point'}).

This happened while the csv dataset builder was generating data using

hf://datasets/lqliu/pipvis/Data-Prep/PIE_val_all_updated.csv (at revision df0628a21fbcb8ab154cf265bd09d6c2b98bcd33), ['hf://datasets/lqliu/pipvis@df0628a21fbcb8ab154cf265bd09d6c2b98bcd33/Data-Prep/PIE_annot_attrb_val.csv', 'hf://datasets/lqliu/pipvis@df0628a21fbcb8ab154cf265bd09d6c2b98bcd33/Data-Prep/PIE_val_all_updated.csv', 'hf://datasets/lqliu/pipvis@df0628a21fbcb8ab154cf265bd09d6c2b98bcd33/Data-Prep/PIE_val_occ_updated.csv', 'hf://datasets/lqliu/pipvis@df0628a21fbcb8ab154cf265bd09d6c2b98bcd33/Data-Prep/PIE_val_vehicle.csv', 'hf://datasets/lqliu/pipvis@df0628a21fbcb8ab154cf265bd09d6c2b98bcd33/Data-Prep/annot-data/PIE_annot_attrb_val_fn.csv', 'hf://datasets/lqliu/pipvis@df0628a21fbcb8ab154cf265bd09d6c2b98bcd33/Data-Prep/annot-data/PIE_annot_attrb_val_fp.csv', 'hf://datasets/lqliu/pipvis@df0628a21fbcb8ab154cf265bd09d6c2b98bcd33/Data-Prep/annot-data/PIE_annot_attrb_val_tn.csv', 'hf://datasets/lqliu/pipvis@df0628a21fbcb8ab154cf265bd09d6c2b98bcd33/Data-Prep/annot-data/PIE_annot_attrb_val_tp.csv', 'hf://datasets/lqliu/pipvis@df0628a21fbcb8ab154cf265bd09d6c2b98bcd33/Data-Prep/obd-data/PIE_vehicle_val_fn.csv', 'hf://datasets/lqliu/pipvis@df0628a21fbcb8ab154cf265bd09d6c2b98bcd33/Data-Prep/obd-data/PIE_vehicle_val_fp.csv', 'hf://datasets/lqliu/pipvis@df0628a21fbcb8ab154cf265bd09d6c2b98bcd33/Data-Prep/obd-data/PIE_vehicle_val_tn.csv', 'hf://datasets/lqliu/pipvis@df0628a21fbcb8ab154cf265bd09d6c2b98bcd33/Data-Prep/obd-data/PIE_vehicle_val_tp.csv']

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 "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1837, in _prepare_split_single
                  writer.write_table(table)
                File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 765, in write_table
                  self._write_table(pa_table, writer_batch_size=writer_batch_size)
                File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 773, in _write_table
                  pa_table = table_cast(pa_table, self._schema)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2369, in table_cast
                  return cast_table_to_schema(table, schema)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2297, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              ped_id: string
              occlusion_state: string
              behaviour_state: string
              intersection_type: string
              motion_state: string
              prediction_subset: string
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 1025
              to
              {'age': Value('string'), 'critical_point': Value('int64'), 'crossing': Value('int64'), 'crossing_point': Value('int64'), 'exp_start_point': Value('int64'), 'gender': Value('string'), 'id': Value('string'), 'intention_prob': Value('float64'), 'intersection': Value('string'), 'num_lanes': Value('int64'), 'signalized': Value('string'), 'traffic_direction': Value('string'), 'source_file': Value('string')}
              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 1361, in compute_config_parquet_and_info_response
                  parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
                                                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 940, in stream_convert_to_parquet
                  builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1683, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1839, 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 ({'ped_id', 'occlusion_state', 'prediction_subset', 'behaviour_state', 'intersection_type', 'motion_state'}) and 13 missing columns ({'exp_start_point', 'crossing', 'num_lanes', 'critical_point', 'intersection', 'gender', 'intention_prob', 'age', 'source_file', 'signalized', 'id', 'traffic_direction', 'crossing_point'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/lqliu/pipvis/Data-Prep/PIE_val_all_updated.csv (at revision df0628a21fbcb8ab154cf265bd09d6c2b98bcd33), ['hf://datasets/lqliu/pipvis@df0628a21fbcb8ab154cf265bd09d6c2b98bcd33/Data-Prep/PIE_annot_attrb_val.csv', 'hf://datasets/lqliu/pipvis@df0628a21fbcb8ab154cf265bd09d6c2b98bcd33/Data-Prep/PIE_val_all_updated.csv', 'hf://datasets/lqliu/pipvis@df0628a21fbcb8ab154cf265bd09d6c2b98bcd33/Data-Prep/PIE_val_occ_updated.csv', 'hf://datasets/lqliu/pipvis@df0628a21fbcb8ab154cf265bd09d6c2b98bcd33/Data-Prep/PIE_val_vehicle.csv', 'hf://datasets/lqliu/pipvis@df0628a21fbcb8ab154cf265bd09d6c2b98bcd33/Data-Prep/annot-data/PIE_annot_attrb_val_fn.csv', 'hf://datasets/lqliu/pipvis@df0628a21fbcb8ab154cf265bd09d6c2b98bcd33/Data-Prep/annot-data/PIE_annot_attrb_val_fp.csv', 'hf://datasets/lqliu/pipvis@df0628a21fbcb8ab154cf265bd09d6c2b98bcd33/Data-Prep/annot-data/PIE_annot_attrb_val_tn.csv', 'hf://datasets/lqliu/pipvis@df0628a21fbcb8ab154cf265bd09d6c2b98bcd33/Data-Prep/annot-data/PIE_annot_attrb_val_tp.csv', 'hf://datasets/lqliu/pipvis@df0628a21fbcb8ab154cf265bd09d6c2b98bcd33/Data-Prep/obd-data/PIE_vehicle_val_fn.csv', 'hf://datasets/lqliu/pipvis@df0628a21fbcb8ab154cf265bd09d6c2b98bcd33/Data-Prep/obd-data/PIE_vehicle_val_fp.csv', 'hf://datasets/lqliu/pipvis@df0628a21fbcb8ab154cf265bd09d6c2b98bcd33/Data-Prep/obd-data/PIE_vehicle_val_tn.csv', 'hf://datasets/lqliu/pipvis@df0628a21fbcb8ab154cf265bd09d6c2b98bcd33/Data-Prep/obd-data/PIE_vehicle_val_tp.csv']
              
              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.

age
string
critical_point
int64
crossing
int64
crossing_point
int64
exp_start_point
int64
gender
string
id
string
intention_prob
float64
intersection
string
num_lanes
int64
signalized
string
traffic_direction
string
source_file
string
adult
3,434
0
3,452
3,361
male
3_1_232
0.95
four-way
3
CS
OW
video_0001_attributes.xml
adult
7,238
0
7,275
7,148
male
3_1_237
0.95
four-way
4
CS
OW
video_0001_attributes.xml
adult
9,175
0
9,180
9,141
female
3_1_255
0.916667
four-way
3
CS
OW
video_0001_attributes.xml
adult
17,023
1
17,029
16,933
male
3_1_267
0.833333
midblock
3
null
OW
video_0001_attributes.xml
adult
3,260
0
3,278
3,170
male
3_1_231
0.766667
midblock
3
null
OW
video_0001_attributes.xml
senior
2,808
0
2,827
2,718
female
3_1_224
0.85
four-way
4
CS
TW
video_0001_attributes.xml
senior
9,184
0
9,190
9,159
female
3_1_262
0.95
four-way
3
CS
OW
video_0001_attributes.xml
adult
17,082
1
17,041
17,008
male
3_1_268
0.9
midblock
3
null
OW
video_0001_attributes.xml
adult
2,825
0
2,833
2,782
female
3_1_226
0.966667
four-way
4
CS
TW
video_0001_attributes.xml
adult
1,833
0
1,862
1,743
male
3_1_221
0.983333
four-way
4
CS
TW
video_0001_attributes.xml
senior
9,179
0
9,188
9,155
male
3_1_261
0.95
four-way
3
CS
OW
video_0001_attributes.xml
adult
7,230
0
7,265
7,140
male
3_1_241
0.883333
four-way
4
CS
OW
video_0001_attributes.xml
adult
3,470
0
3,494
3,380
female
3_1_233
0.75
four-way
3
CS
OW
video_0001_attributes.xml
senior
3,620
0
3,648
3,530
female
3_1_235
0.9
midblock
4
null
OW
video_0001_attributes.xml
adult
2,829
0
2,844
2,768
male
3_1_228
0.966667
four-way
4
CS
TW
video_0001_attributes.xml
senior
2,173
0
2,201
2,083
male
3_1_223
0.916667
four-way
4
null
TW
video_0001_attributes.xml
adult
2,821
0
2,837
2,731
male
3_1_225
0.95
four-way
4
CS
TW
video_0001_attributes.xml
adult
16,925
-1
17,094
16,862
male
3_1_266
0.116667
midblock
3
null
OW
video_0001_attributes.xml
adult
1,560
0
1,588
1,485
female
3_1_220
0.683333
four-way
4
CS
TW
video_0001_attributes.xml
adult
8,780
0
8,824
8,690
male
3_1_247
0.433333
midblock
3
null
OW
video_0001_attributes.xml
adult
9,175
0
9,184
9,149
female
3_1_260
0.95
four-way
3
CS
OW
video_0001_attributes.xml
adult
9,184
0
9,193
9,161
male
3_1_263
0.9
four-way
3
CS
OW
video_0001_attributes.xml
adult
9,154
0
9,208
9,083
female
3_1_252
0.733333
four-way
3
CS
OW
video_0001_attributes.xml
adult
9,147
0
9,197
9,057
male
3_1_250
0.9
four-way
3
CS
OW
video_0001_attributes.xml
adult
7,204
0
7,247
7,114
female
3_1_239
0.866667
four-way
4
CS
OW
video_0001_attributes.xml
adult
8,705
0
8,720
8,638
male
3_1_246
0.983333
four-way
3
CS
OW
video_0001_attributes.xml
adult
4,340
-1
4,424
4,250
male
3_1_236
0.483333
four-way
4
CS
OW
video_0001_attributes.xml
adult
16,842
-1
16,862
16,752
male
3_1_269
0.666667
midblock
3
null
OW
video_0001_attributes.xml
adult
9,173
0
9,178
9,123
male
3_1_264
0.816667
four-way
3
CS
OW
video_0001_attributes.xml
adult
7,330
0
7,375
7,217
male
3_1_242
0.95
four-way
3
CS
OW
video_0001_attributes.xml
adult
9,155
0
9,202
9,065
female
3_1_251
0.833333
four-way
3
CS
OW
video_0001_attributes.xml
adult
3,249
0
3,271
3,159
male
3_1_230
0.883333
midblock
3
null
OW
video_0001_attributes.xml
adult
9,136
0
9,192
9,046
female
3_1_249
0.883333
four-way
3
CS
OW
video_0001_attributes.xml
adult
8,565
0
8,617
8,475
male
3_1_243
0.85
four-way
3
CS
OW
video_0001_attributes.xml
adult
8,540
0
8,619
8,460
male
3_1_244
0.833333
four-way
3
CS
OW
video_0001_attributes.xml
adult
3,470
0
3,496
3,380
female
3_1_234
0.883333
four-way
3
CS
OW
video_0001_attributes.xml
adult
8,705
0
8,717
8,608
male
3_1_245
1
four-way
3
CS
OW
video_0001_attributes.xml
adult
1,833
0
1,864
1,758
male
3_1_222
0.933333
four-way
4
CS
TW
video_0001_attributes.xml
adult
9,076
0
9,086
8,986
male
3_1_248
0.383333
midblock
3
null
OW
video_0001_attributes.xml
adult
2,825
0
2,839
2,785
female
3_1_227
0.983333
four-way
4
CS
TW
video_0001_attributes.xml
adult
2,817
0
2,839
2,727
male
3_1_229
0.85
four-way
4
CS
TW
video_0001_attributes.xml
adult
3,601
0
3,632
3,511
female
3_2_274
0.983333
four-way
3
CS
OW
video_0002_attributes.xml
adult
4,525
0
4,547
4,510
female
3_2_285
0.883333
four-way
3
CS
OW
video_0002_attributes.xml
adult
816
0
836
702
male
3_2_270
0.916667
four-way
3
CS
OW
video_0002_attributes.xml
adult
4,884
0
4,907
4,855
male
3_2_287
0.966667
four-way
3
CS
OW
video_0002_attributes.xml
adult
4,937
0
4,958
4,847
female
3_2_288
0.766667
four-way
3
CS
OW
video_0002_attributes.xml
adult
10,162
0
10,188
10,072
female
3_2_298
0.666667
four-way
3
CS
OW
video_0002_attributes.xml
adult
8,619
-1
8,637
8,568
male
3_2_292
0.1
midblock
2
null
OW
video_0002_attributes.xml
adult
4,522
0
4,544
4,474
male
3_2_281
0.833333
four-way
3
CS
OW
video_0002_attributes.xml
adult
815
0
846
725
female
3_2_271
0.833333
four-way
3
CS
OW
video_0002_attributes.xml
adult
4,514
0
4,538
4,424
female
3_2_279
0.883333
four-way
3
CS
OW
video_0002_attributes.xml
adult
4,072
-1
4,096
4,010
male
3_2_278
0.016667
four-way
3
CS
OW
video_0002_attributes.xml
adult
10,009
0
10,036
9,919
female
3_2_296
0.916667
four-way
2
CS
OW
video_0002_attributes.xml
adult
4,523
0
4,539
4,486
female
3_2_284
0.833333
four-way
3
CS
OW
video_0002_attributes.xml
adult
5,625
1
5,921
5,606
male
3_2_289
0.983333
four-way
3
CS
OW
video_0002_attributes.xml
adult
4,529
0
4,542
4,455
male
3_2_280
0.916667
four-way
3
CS
OW
video_0002_attributes.xml
adult
12,613
1
12,618
12,552
male
3_2_304
1
four-way
2
CS
TW
video_0002_attributes.xml
adult
10,010
0
10,039
9,974
male
3_2_295
0.883333
four-way
2
CS
OW
video_0002_attributes.xml
adult
4,881
0
4,905
4,791
female
3_2_286
0.966667
four-way
3
CS
OW
video_0002_attributes.xml
adult
3,850
0
3,897
3,772
male
3_2_277
0.833333
four-way
3
CS
OW
video_0002_attributes.xml
adult
13,502
0
13,513
13,412
female
3_2_306
0.95
four-way
2
CS
TW
video_0002_attributes.xml
adult
3,850
0
3,902
3,749
male
3_2_276
0.933333
four-way
3
CS
OW
video_0002_attributes.xml
adult
10,009
0
10,036
9,713
male
3_2_294
0.95
four-way
2
CS
OW
video_0002_attributes.xml
adult
8,538
-1
8,560
8,461
male
3_2_291
0.016667
midblock
2
null
OW
video_0002_attributes.xml
adult
4,521
0
4,540
4,456
male
3_2_282
0.9
four-way
3
CS
OW
video_0002_attributes.xml
adult
10,505
-1
10,532
10,415
male
3_2_300
0.366667
midblock
2
null
OW
video_0002_attributes.xml
adult
10,500
-1
10,529
10,410
female
3_2_299
0.5
midblock
2
null
OW
video_0002_attributes.xml
adult
12,693
1
12,711
12,651
female
3_2_305
1
four-way
2
CS
TW
video_0002_attributes.xml
adult
901
0
949
816
male
3_2_273
0.966667
four-way
3
CS
OW
video_0002_attributes.xml
senior
5,561
1
6,090
5,471
male
3_2_290
0.85
four-way
3
CS
OW
video_0002_attributes.xml
adult
796
0
817
742
male
3_2_272
0.916667
four-way
3
CS
OW
video_0002_attributes.xml
adult
10,012
0
10,046
9,922
male
3_2_293
0.8
four-way
2
CS
OW
video_0002_attributes.xml
adult
11,824
1
11,971
11,781
female
3_2_302
0.95
four-way
2
CS
TW
video_0002_attributes.xml
adult
11,652
0
11,666
11,582
female
3_2_301
0.783333
midblock
2
null
TW
video_0002_attributes.xml
adult
11,913
1
11,943
11,823
male
3_2_303
0.85
four-way
2
CS
TW
video_0002_attributes.xml
adult
3,845
0
3,878
3,755
female
3_2_275
0.966667
four-way
3
CS
OW
video_0002_attributes.xml
adult
18,017
1
18,030
17,957
female
3_3_332
0.966667
T
2
CS
OW
video_0003_attributes.xml
adult
8,128
-1
8,160
8,038
male
3_3_313
0.016667
T-right
4
null
TW
video_0003_attributes.xml
adult
20,066
1
20,164
19,976
female
3_3_338
0.766667
T
4
CS
TW
video_0003_attributes.xml
adult
17,701
1
17,723
17,611
male
3_3_330
0.95
T
2
CS
OW
video_0003_attributes.xml
adult
17,581
1
17,646
17,491
female
3_3_327
0.95
T
2
CS
OW
video_0003_attributes.xml
adult
20,095
1
20,134
20,005
female
3_3_339
0.983333
T
4
CS
TW
video_0003_attributes.xml
adult
10,345
-1
10,384
10,255
female
3_3_316
0.383333
four-way
4
CS
TW
video_0003_attributes.xml
adult
17,557
1
17,636
17,467
male
3_3_326
0.95
T
2
CS
OW
video_0003_attributes.xml
adult
18,975
1
18,985
18,921
female
3_3_334
1
T
4
CS
TW
video_0003_attributes.xml
adult
8,132
-1
8,167
8,042
male
3_3_314
0
T-right
4
null
TW
video_0003_attributes.xml
adult
20,262
1
20,314
20,217
male
3_3_341
0.833333
T
4
CS
TW
video_0003_attributes.xml
adult
17,629
1
17,710
17,539
female
3_3_328
0.783333
T
2
CS
OW
video_0003_attributes.xml
senior
20,114
1
20,330
20,024
female
3_3_343
0.616667
T
4
CS
TW
video_0003_attributes.xml
adult
20,106
1
20,115
20,016
female
3_3_342
0.716667
T
4
CS
TW
video_0003_attributes.xml
adult
1,490
1
1,708
1,400
male
3_3_309
0.916667
four-way
2
CS
TW
video_0003_attributes.xml
adult
18,997
-1
19,049
18,922
male
3_3_333
0.616667
T
2
CS
OW
video_0003_attributes.xml
adult
15,811
0
15,881
15,721
male
3_3_325
0.75
midblock
2
null
OW
video_0003_attributes.xml
adult
20,084
1
20,115
19,994
male
3_3_337
0.933333
T
4
CS
TW
video_0003_attributes.xml
adult
1,504
1
1,641
1,414
male
3_3_308
0.983333
four-way
2
CS
TW
video_0003_attributes.xml
adult
20,093
1
20,115
20,003
male
3_3_336
0.933333
T
4
CS
TW
video_0003_attributes.xml
adult
19,591
1
19,609
19,525
female
3_3_335
0.983333
T
2
CS
OW
video_0003_attributes.xml
adult
11,902
0
11,962
11,812
male
3_3_317
0.883333
midblock
4
null
TW
video_0003_attributes.xml
adult
18,018
1
18,037
17,943
male
3_3_331
1
T
2
CS
OW
video_0003_attributes.xml
adult
20,137
1
20,206
20,047
female
3_3_340
0.633333
T
4
CS
TW
video_0003_attributes.xml
End of preview.

No dataset card yet

Downloads last month
96