Dataset Preview
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 2 new columns ({'transformed_center_x', 'transformed_center_y'})

This happened while the csv dataset builder was generating data using

hf://datasets/Hj-Lee/The-DRIFT/F/drone_1.csv (at revision 485244cdb3103d0c3763c0a461e89e52a3e123e2)

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 1871, in _prepare_split_single
                  writer.write_table(table)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 623, 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 2293, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2241, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              track_id: double
              frame: int64
              center_x: double
              center_y: double
              width: double
              height: double
              angle: double
              x1: double
              y1: double
              x2: double
              y2: double
              x3: double
              y3: double
              x4: double
              y4: double
              confidence: double
              class_id: double
              site: string
              lane: string
              transformed_center_x: double
              transformed_center_y: double
              preceding_id: double
              following_id: double
              timestamp: string
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 3000
              to
              {'track_id': Value(dtype='float64', id=None), 'frame': Value(dtype='int64', id=None), 'center_x': Value(dtype='float64', id=None), 'center_y': Value(dtype='float64', id=None), 'width': Value(dtype='float64', id=None), 'height': Value(dtype='float64', id=None), 'angle': Value(dtype='float64', id=None), 'x1': Value(dtype='float64', id=None), 'y1': Value(dtype='float64', id=None), 'x2': Value(dtype='float64', id=None), 'y2': Value(dtype='float64', id=None), 'x3': Value(dtype='float64', id=None), 'y3': Value(dtype='float64', id=None), 'x4': Value(dtype='float64', id=None), 'y4': Value(dtype='float64', id=None), 'confidence': Value(dtype='float64', id=None), 'class_id': Value(dtype='float64', id=None), 'site': Value(dtype='string', id=None), 'lane': Value(dtype='string', id=None), 'preceding_id': Value(dtype='float64', id=None), 'following_id': Value(dtype='float64', id=None), 'timestamp': Value(dtype='string', 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 1433, 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 989, in stream_convert_to_parquet
                  builder._prepare_split(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1742, 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 1873, 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 2 new columns ({'transformed_center_x', 'transformed_center_y'})
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/Hj-Lee/The-DRIFT/F/drone_1.csv (at revision 485244cdb3103d0c3763c0a461e89e52a3e123e2)
              
              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.

track_id
float64
frame
int64
center_x
float64
center_y
float64
width
float64
height
float64
angle
float64
x1
float64
y1
float64
x2
float64
y2
float64
x3
float64
y3
float64
x4
float64
y4
float64
confidence
float64
class_id
float64
site
string
lane
string
preceding_id
null
following_id
float64
timestamp
string
319
297
1,788.871338
1,163.560913
53.738293
19.964605
3.133297
1,761.92041
1,153.80188
1,762.085938
1,173.765747
1,815.822266
1,173.319946
1,815.656738
1,153.356079
0.912315
2
Site A
B5
null
322
07:35:27.012
319
298
1,788.923096
1,163.572876
53.811653
19.98173
3.132453
1,761.927124
1,153.828369
1,762.109741
1,173.809326
1,815.919067
1,173.317383
1,815.73645
1,153.336426
0.912871
2
Site A
B5
null
322
07:35:27.046
319
299
1,788.957031
1,163.55896
53.936909
20.020344
3.132043
1,761.894165
1,153.806763
1,762.085327
1,173.826294
1,816.019897
1,173.311157
1,815.828735
1,153.291626
0.911652
2
Site A
B5
null
322
07:35:27.079
319
300
1,789.144775
1,163.543335
53.546047
19.868242
3.132135
1,762.278931
1,153.862793
1,762.466919
1,173.730225
1,816.01062
1,173.223877
1,815.822632
1,153.356445
0.913222
2
Site A
B5
null
322
07:35:27.112
319
301
1,789.21167
1,163.557129
53.434265
19.823317
3.132755
1,762.407959
1,153.881958
1,762.583252
1,173.704468
1,816.015381
1,173.2323
1,815.840088
1,153.40979
0.914224
2
Site A
B5
null
322
07:35:27.146
319
302
1,789.194336
1,163.538086
53.478065
19.833355
3.132144
1,762.362793
1,153.874512
1,762.550293
1,173.707031
1,816.025879
1,173.20166
1,815.838379
1,153.369141
0.913673
2
Site A
B5
null
322
07:35:27.179
319
303
1,789.123901
1,163.598389
53.576836
19.869812
3.131837
1,762.239868
1,153.925293
1,762.433716
1,173.794189
1,816.007935
1,173.271484
1,815.814087
1,153.402588
0.913671
2
Site A
B5
null
322
07:35:27.213
319
304
1,789.084595
1,163.627441
53.588928
19.871246
3.131276
1,762.188965
1,153.968872
1,762.394043
1,173.838989
1,815.980225
1,173.286011
1,815.775146
1,153.415894
0.913625
2
Site A
B5
null
322
07:35:27.247
319
305
1,788.990967
1,163.630615
53.492977
19.83906
3.132133
1,762.151855
1,153.9646
1,762.3396
1,173.802734
1,815.830078
1,173.296631
1,815.642334
1,153.458496
0.914632
2
Site A
B5
null
322
07:35:27.280
319
306
1,788.897217
1,163.707031
53.409824
19.807764
3.131415
1,762.092896
1,154.075562
1,762.294556
1,173.882202
1,815.701538
1,173.338501
1,815.499878
1,153.53186
0.914372
2
Site A
B5
null
322
07:35:27.313
319
307
1,788.781616
1,163.664795
53.423424
19.812063
3.132418
1,761.980103
1,154.004272
1,762.161987
1,173.815552
1,815.58313
1,173.325317
1,815.401245
1,153.514038
0.915
2
Site A
B5
null
322
07:35:27.347
319
308
1,788.742676
1,163.661377
53.375603
19.789022
3.132583
1,761.966797
1,154.00769
1,762.14502
1,173.796021
1,815.518555
1,173.315063
1,815.340332
1,153.526733
0.915116
2
Site A
B5
null
322
07:35:27.379
319
309
1,788.711792
1,163.649902
53.403252
19.792614
3.13191
1,761.915649
1,154.012573
1,762.1073
1,173.804321
1,815.507935
1,173.287231
1,815.316284
1,153.495483
0.913889
2
Site A
B5
null
322
07:35:27.413
319
310
1,788.69873
1,163.606812
53.313904
19.761507
3.132216
1,761.950317
1,153.976318
1,762.13562
1,173.737061
1,815.447144
1,173.237305
1,815.261841
1,153.476563
0.914619
2
Site A
B5
null
322
07:35:27.446
319
311
1,788.755981
1,163.562866
53.383171
19.782835
3.131309
1,761.964111
1,153.946533
1,762.16748
1,173.728271
1,815.547852
1,173.179199
1,815.344482
1,153.397461
0.914255
2
Site A
B5
null
322
07:35:27.480
319
312
1,788.755371
1,163.489868
53.32225
19.76103
3.131568
1,761.996582
1,153.877075
1,762.19458
1,173.637085
1,815.51416
1,173.102661
1,815.316162
1,153.342651
0.915423
2
Site A
B5
null
322
07:35:27.513
319
313
1,788.713745
1,163.492432
53.465065
19.817802
3.131133
1,761.879028
1,153.86377
1,762.086304
1,173.68042
1,815.548462
1,173.121094
1,815.341187
1,153.304443
0.914581
2
Site A
B5
null
322
07:35:27.546
319
314
1,788.838867
1,163.526245
53.454479
19.824043
3.132282
1,762.020508
1,153.863403
1,762.205078
1,173.686646
1,815.657227
1,173.189087
1,815.472656
1,153.365845
0.915991
2
Site A
B5
null
322
07:35:27.580
319
315
1,788.96936
1,163.557739
53.463955
19.830881
3.131752
1,762.141113
1,153.905884
1,762.336182
1,173.735718
1,815.797607
1,173.209595
1,815.602539
1,153.379761
0.914715
2
Site A
B5
null
322
07:35:27.613
319
316
1,788.937866
1,163.605225
53.264332
19.768221
3.133227
1,762.223999
1,153.944214
1,762.389282
1,173.711792
1,815.651733
1,173.266235
1,815.48645
1,153.498657
0.917018
2
Site A
B5
null
322
07:35:27.646
319
317
1,788.831299
1,163.66272
53.262486
19.77037
3.133189
1,762.118042
1,154.001587
1,762.284058
1,173.771362
1,815.544556
1,173.323853
1,815.37854
1,153.554077
0.91775
2
Site A
B5
null
322
07:35:27.679
319
318
1,788.856567
1,163.667358
53.290253
19.784992
3.133678
1,762.134033
1,153.985962
1,762.290527
1,173.770386
1,815.579102
1,173.348755
1,815.422607
1,153.564331
0.917243
2
Site A
B5
null
322
07:35:27.713
319
319
1,788.879272
1,163.659058
53.284393
19.791418
3.132898
1,762.151978
1,153.995361
1,762.324097
1,173.786133
1,815.606567
1,173.322754
1,815.434448
1,153.531982
0.917361
2
Site A
B5
null
322
07:35:27.747
319
320
1,788.778931
1,163.643555
53.339329
19.808418
3.133211
1,762.027222
1,153.963257
1,762.193237
1,173.770874
1,815.53064
1,173.323853
1,815.364624
1,153.516235
0.917157
2
Site A
B5
null
322
07:35:27.780
319
321
1,788.723755
1,163.64624
53.404621
19.836617
3.132273
1,761.930176
1,153.977295
1,762.11499
1,173.812988
1,815.517334
1,173.315186
1,815.33252
1,153.479492
0.917731
2
Site A
B5
null
322
07:35:27.813
319
322
1,788.75293
1,163.672607
53.40638
19.833401
3.132185
1,761.957642
1,154.007568
1,762.144165
1,173.840088
1,815.548218
1,173.337646
1,815.361694
1,153.505127
0.917161
2
Site A
B5
null
322
07:35:27.846
319
323
1,788.773315
1,163.676025
53.49081
19.856998
3.132344
1,761.937256
1,153.995239
1,762.12085
1,173.85144
1,815.609375
1,173.356812
1,815.425781
1,153.50061
0.916672
2
Site A
B5
null
322
07:35:27.880
319
324
1,788.843262
1,163.68689
53.625935
19.913879
3.132578
1,761.94165
1,153.972046
1,762.121094
1,173.885132
1,815.744873
1,173.401733
1,815.56543
1,153.488647
0.91738
2
Site A
B5
null
322
07:35:27.913
319
325
1,788.868774
1,163.686523
53.751507
19.965563
3.13192
1,761.897705
1,153.964233
1,762.09082
1,173.928833
1,815.839844
1,173.408813
1,815.646729
1,153.444214
0.916432
2
Site A
B5
null
322
07:35:27.947
319
326
1,788.887573
1,163.687134
53.70089
19.949366
3.13197
1,761.942383
1,153.971313
1,762.134277
1,173.9198
1,815.832764
1,173.402954
1,815.640869
1,153.454468
0.917005
2
Site A
B5
null
322
07:35:27.980
319
327
1,788.893066
1,163.697144
53.672577
19.947475
3.131658
1,761.958984
1,153.990479
1,762.157227
1,173.937012
1,815.827148
1,173.403809
1,815.628906
1,153.457275
0.917577
2
Site A
B5
null
322
07:35:28.013
319
328
1,788.930908
1,163.683594
53.597965
19.932777
3.131473
1,762.032471
1,153.989014
1,762.234131
1,173.920654
1,815.829346
1,173.378174
1,815.627686
1,153.446533
0.918076
2
Site A
B5
null
322
07:35:28.047
319
329
1,788.943359
1,163.634277
53.616634
19.940342
3.131674
1,762.037476
1,153.93042
1,762.235229
1,173.869873
1,815.849243
1,173.338135
1,815.651489
1,153.398682
0.917167
2
Site A
B5
null
322
07:35:28.080
319
330
1,788.756104
1,163.613892
53.643017
19.943605
3.131527
1,761.835571
1,153.912598
1,762.036255
1,173.855225
1,815.676636
1,173.315186
1,815.475952
1,153.372559
0.916772
2
Site A
B5
null
322
07:35:28.113
319
331
1,788.657227
1,163.601563
53.669411
19.953299
3.13144
1,761.722534
1,153.897949
1,761.925171
1,173.850098
1,815.591919
1,173.305176
1,815.389282
1,153.353027
0.917276
2
Site A
B5
null
322
07:35:28.147
319
332
1,788.673218
1,163.591064
53.730934
19.975672
3.131515
1,761.708374
1,153.874512
1,761.90979
1,173.849121
1,815.638062
1,173.307617
1,815.436646
1,153.333008
0.917277
2
Site A
B5
null
322
07:35:28.181
319
333
1,788.710205
1,163.583496
53.802368
20.005457
3.131418
1,761.708618
1,153.85498
1,761.912231
1,173.859375
1,815.711792
1,173.312012
1,815.508179
1,153.307617
0.917392
2
Site A
B5
null
322
07:35:28.214
319
334
1,788.887451
1,163.617432
53.891624
20.036888
3.130151
1,761.828735
1,153.907959
1,762.057983
1,173.943604
1,815.946167
1,173.326904
1,815.716919
1,153.29126
0.915315
2
Site A
B5
null
322
07:35:28.248
319
335
1,788.916382
1,163.655762
54.058468
20.101177
3.129093
1,761.763672
1,153.943848
1,762.014893
1,174.043457
1,816.069092
1,173.367676
1,815.817871
1,153.268066
0.91417
2
Site A
B5
null
322
07:35:28.280
319
336
1,788.953247
1,163.635986
54.328323
20.210537
3.128698
1,761.661133
1,153.881836
1,761.921631
1,174.090576
1,816.245361
1,173.390137
1,815.984863
1,153.181396
0.914456
2
Site A
B5
null
322
07:35:28.314
319
337
1,789.032593
1,163.658569
54.521919
20.288698
3.127792
1,761.634155
1,153.891357
1,761.914185
1,174.178223
1,816.43103
1,173.425781
1,816.151001
1,153.138916
0.913064
2
Site A
B5
null
322
07:35:28.348
319
338
1,788.966187
1,163.651367
54.714581
20.364637
3.127976
1,761.472778
1,153.842407
1,761.750122
1,174.2052
1,816.459595
1,173.460327
1,816.182251
1,153.097534
0.912445
2
Site A
B5
null
322
07:35:28.380
319
339
1,789.081543
1,163.618042
54.780399
20.373322
3.128654
1,761.561768
1,153.786621
1,761.825439
1,174.158203
1,816.601318
1,173.449463
1,816.337646
1,153.077881
0.910666
2
Site A
B5
null
322
07:35:28.414
319
340
1,789.142456
1,163.71167
54.827522
20.371058
3.128681
1,761.599487
1,153.880859
1,761.862427
1,174.250244
1,816.685425
1,173.54248
1,816.422485
1,153.173096
0.911751
2
Site A
B5
null
322
07:35:28.447
319
341
1,789.268799
1,163.686768
54.933273
20.384527
3.12756
1,761.661743
1,153.880859
1,761.947876
1,174.263428
1,816.875854
1,173.492676
1,816.589722
1,153.110107
0.909423
2
Site A
B5
null
322
07:35:28.480
319
342
1,789.421875
1,163.699707
54.892448
20.333548
3.12821
1,761.842041
1,153.901123
1,762.114258
1,174.23291
1,817.001709
1,173.498291
1,816.729492
1,153.166504
0.909188
2
Site A
B5
null
322
07:35:28.514
319
343
1,789.53064
1,163.764893
54.982929
20.33
3.128634
1,761.90979
1,153.956909
1,762.173218
1,174.285278
1,817.151489
1,173.572876
1,816.888062
1,153.244507
0.908869
2
Site A
B5
null
322
07:35:28.548
319
344
1,789.668945
1,163.705688
55.128296
20.339563
3.128381
1,761.972778
1,153.900879
1,762.241577
1,174.23877
1,817.365112
1,173.510498
1,817.096313
1,153.172607
0.90881
2
Site A
B5
null
322
07:35:28.580
319
345
1,789.700073
1,163.697998
55.173309
20.322378
3.128332
1,761.981079
1,153.903564
1,762.25061
1,174.224121
1,817.419067
1,173.492432
1,817.149536
1,153.171875
0.908716
2
Site A
B5
null
322
07:35:28.614
319
346
1,789.750977
1,163.706055
55.025585
20.229107
3.128301
1,762.106201
1,153.95813
1,762.375
1,174.185425
1,817.395752
1,173.453979
1,817.126953
1,153.226685
0.910068
2
Site A
B5
null
322
07:35:28.648
319
347
1,789.75708
1,163.677124
55.037144
20.201389
3.12951
1,762.118408
1,153.909668
1,762.362549
1,174.109619
1,817.395752
1,173.44458
1,817.151611
1,153.244629
0.909922
2
Site A
B5
null
322
07:35:28.681
319
348
1,789.859131
1,163.687134
54.865955
20.113415
3.130529
1,762.31665
1,153.93457
1,762.539063
1,174.046631
1,817.401611
1,173.439697
1,817.179199
1,153.327637
0.912086
2
Site A
B5
null
322
07:35:28.714
319
349
1,789.928589
1,163.630493
54.850452
20.082697
3.131234
1,762.400879
1,153.873779
1,762.608887
1,173.955322
1,817.456299
1,173.387207
1,817.248291
1,153.305664
0.91177
2
Site A
B5
null
322
07:35:28.748
319
350
1,790.014526
1,163.618652
54.804462
20.03425
3.131702
1,762.514526
1,153.873047
1,762.712769
1,173.90625
1,817.514526
1,173.364258
1,817.316284
1,153.331055
0.912161
2
Site A
B5
null
322
07:35:28.780
319
351
1,790.384766
1,163.555054
54.601398
19.946369
3.132617
1,762.995728
1,153.827271
1,763.174683
1,173.772827
1,817.773804
1,173.282837
1,817.594849
1,153.33728
0.913715
2
Site A
B5
null
322
07:35:28.814
319
352
1,790.483398
1,163.52417
54.751289
19.980335
3.13247
1,763.0177
1,153.78418
1,763.200073
1,173.763672
1,817.949097
1,173.26416
1,817.766724
1,153.284668
0.913167
2
Site A
B5
null
322
07:35:28.849
319
353
1,790.639404
1,163.507935
55.03941
20.058132
3.132483
1,763.029541
1,153.72998
1,763.212158
1,173.787354
1,818.249268
1,173.285889
1,818.06665
1,153.228516
0.911333
2
Site A
B5
null
322
07:35:28.881
319
354
1,790.945435
1,163.48291
55.290562
20.121115
3.132141
1,763.206299
1,153.684082
1,763.396484
1,173.804199
1,818.68457
1,173.281738
1,818.494385
1,153.161621
0.911165
2
Site A
B5
null
322
07:35:28.914
319
355
1,791.202393
1,163.468872
55.566006
20.182125
3.131855
1,763.322388
1,153.648804
1,763.518921
1,173.829956
1,819.082397
1,173.28894
1,818.885864
1,153.107788
0.910566
2
Site A
B5
null
322
07:35:28.948
319
356
1,791.44165
1,163.483398
55.754066
20.21146
3.131545
1,763.464478
1,153.658325
1,763.667603
1,173.868774
1,819.418823
1,173.308472
1,819.215698
1,153.098022
0.910594
2
Site A
B5
null
322
07:35:28.981
319
357
1,791.618652
1,163.382202
56.268406
20.366888
3.131001
1,763.378174
1,153.497314
1,763.593994
1,173.863037
1,819.859131
1,173.26709
1,819.643311
1,152.901367
0.907926
2
Site A
B5
null
322
07:35:29.014
319
358
1,791.798218
1,163.384155
56.468388
20.399797
3.13167
1,763.464233
1,153.464966
1,763.666626
1,173.863647
1,820.132202
1,173.303345
1,819.92981
1,152.904663
0.908769
2
Site A
B5
null
322
07:35:29.049
319
359
1,791.793091
1,163.373169
56.618259
20.420395
3.131332
1,763.380737
1,153.453979
1,763.59021
1,173.873413
1,820.205444
1,173.292358
1,819.995972
1,152.872925
0.908706
2
Site A
B5
null
322
07:35:29.081
319
360
1,792.156494
1,163.389526
56.450718
20.317755
3.131917
1,763.834229
1,153.50415
1,764.030762
1,173.821045
1,820.47876
1,173.274902
1,820.282227
1,152.958008
0.907415
2
Site A
B5
null
322
07:35:29.115
319
361
1,792.366943
1,163.422607
56.456902
20.289001
3.13228
1,764.045288
1,153.541382
1,764.234253
1,173.829468
1,820.688599
1,173.303833
1,820.499634
1,153.015747
0.908111
2
Site A
B5
null
322
07:35:29.149
319
362
1,792.348755
1,163.416992
56.602676
20.315289
3.132506
1,763.956299
1,153.516968
1,764.140869
1,173.831421
1,820.741211
1,173.317017
1,820.556641
1,153.002563
0.908196
2
Site A
B5
null
322
07:35:29.181
319
363
1,792.385864
1,163.400269
56.567352
20.285309
3.132957
1,764.015747
1,153.502197
1,764.190796
1,173.786865
1,820.755981
1,173.29834
1,820.580933
1,153.013672
0.90784
2
Site A
B5
null
322
07:35:29.215
319
364
1,792.411133
1,163.417847
56.562519
20.261106
3.133821
1,764.052002
1,153.507324
1,764.209473
1,173.767822
1,820.770264
1,173.328369
1,820.612793
1,153.067871
0.906905
2
Site A
B5
null
322
07:35:29.248
319
365
1,792.449829
1,163.460083
56.593033
20.251568
3.1321
1,764.058472
1,153.603271
1,764.25061
1,173.854004
1,820.841187
1,173.316895
1,820.649048
1,153.066162
0.906793
2
Site A
B5
null
322
07:35:29.281
319
366
1,792.482422
1,163.468384
56.624954
20.236504
3.132618
1,764.080322
1,153.604614
1,764.261963
1,173.84021
1,820.884521
1,173.332153
1,820.702881
1,153.096558
0.905918
2
Site A
B5
null
322
07:35:29.314
319
367
1,792.763428
1,163.445923
56.410477
20.135653
3.134377
1,764.486328
1,153.581909
1,764.631592
1,173.716919
1,821.040527
1,173.309937
1,820.895264
1,153.174927
0.906907
2
Site A
B5
null
322
07:35:29.348
319
368
1,792.892212
1,163.458984
56.325485
20.081532
3.134305
1,764.657104
1,153.623657
1,764.803345
1,173.704712
1,821.127319
1,173.294312
1,820.981079
1,153.213257
0.90663
2
Site A
B5
null
322
07:35:29.382
319
369
1,793.002563
1,163.425903
56.241501
20.024405
3.13444
1,764.810913
1,153.615112
1,764.954224
1,173.639038
1,821.194214
1,173.236694
1,821.050903
1,153.212769
0.907563
2
Site A
B5
null
322
07:35:29.415
319
370
1,793.209839
1,163.432373
56.068516
19.942469
3.133776
1,765.098511
1,153.680542
1,765.254272
1,173.622437
1,821.321167
1,173.184204
1,821.165405
1,153.24231
0.909078
2
Site A
B5
null
322
07:35:29.448
319
371
1,793.309692
1,163.425537
56.104855
19.939583
3.134005
1,765.182373
1,153.668945
1,765.33374
1,173.60791
1,821.437012
1,173.182129
1,821.285645
1,153.243164
0.910737
2
Site A
B5
null
322
07:35:29.481
319
372
1,793.359131
1,163.460327
56.335678
20.02523
3.134013
1,765.116211
1,153.661499
1,765.268066
1,173.686157
1,821.602051
1,173.259155
1,821.450195
1,153.234497
0.912207
2
Site A
B5
null
322
07:35:29.515
319
373
1,793.458862
1,163.507813
56.411419
20.049459
3.13387
1,765.176636
1,153.701172
1,765.331421
1,173.75
1,821.741089
1,173.314453
1,821.586304
1,153.265625
0.91106
2
Site A
B5
null
322
07:35:29.548
319
374
1,793.691528
1,163.46875
56.603416
20.133223
3.134301
1,765.317261
1,153.608765
1,765.463989
1,173.741333
1,822.065796
1,173.328735
1,821.919067
1,153.196167
0.909338
2
Site A
B5
null
322
07:35:29.581
319
375
1,793.795898
1,163.467285
56.804642
20.207603
3.134725
1,765.324951
1,153.558838
1,765.463623
1,173.765869
1,822.266846
1,173.375732
1,822.128174
1,153.168701
0.908784
2
Site A
B5
null
322
07:35:29.615
319
376
1,793.81189
1,163.485596
56.887466
20.239813
3.134996
1,765.302002
1,153.553589
1,765.435547
1,173.792847
1,822.321777
1,173.417603
1,822.188232
1,153.178345
0.909123
2
Site A
B5
null
322
07:35:29.649
319
377
1,793.859497
1,163.481201
56.942009
20.260809
3.135475
1,765.327026
1,153.525146
1,765.45105
1,173.785645
1,822.391968
1,173.437256
1,822.267944
1,153.176758
0.908118
2
Site A
B5
null
322
07:35:29.682
319
378
1,793.96936
1,163.524536
57.017059
20.286552
3.135644
1,765.401001
1,153.551025
1,765.521606
1,173.837158
1,822.53772
1,173.498047
1,822.417114
1,153.211914
0.907441
2
Site A
B5
null
322
07:35:29.715
319
379
1,794.112305
1,163.557007
57.088291
20.312845
3.135839
1,765.510132
1,153.564941
1,765.627075
1,173.877441
1,822.714478
1,173.549072
1,822.597534
1,153.236572
0.907636
2
Site A
B5
null
322
07:35:29.748
319
380
1,794.128906
1,163.57019
57.195206
20.350191
3.135507
1,765.469971
1,153.569336
1,765.59375
1,173.919189
1,822.787842
1,173.571045
1,822.664063
1,153.221191
0.907612
2
Site A
B5
null
322
07:35:29.782
319
381
1,794.158569
1,163.543945
57.232281
20.376152
3.136748
1,765.493408
1,153.494629
1,765.592041
1,173.870605
1,822.82373
1,173.593262
1,822.725098
1,153.217285
0.907891
2
Site A
B5
null
322
07:35:29.816
319
382
1,794.195923
1,163.510986
57.199001
20.371668
3.137604
1,765.55603
1,153.439209
1,765.637329
1,173.810791
1,822.835815
1,173.582764
1,822.754517
1,153.211182
0.907506
2
Site A
B5
null
322
07:35:29.848
319
383
1,794.249512
1,163.526855
57.08736
20.339005
3.137771
1,765.667236
1,153.466553
1,765.744873
1,173.80542
1,822.831787
1,173.587158
1,822.75415
1,153.248291
0.90929
2
Site A
B5
null
322
07:35:29.882
319
384
1,794.405884
1,163.4104
57.107346
20.363653
3.138424
1,765.820068
1,153.319092
1,765.884521
1,173.682617
1,822.991699
1,173.501709
1,822.927246
1,153.138184
0.908741
2
Site A
B5
null
322
07:35:29.915
319
385
1,794.558228
1,163.320679
57.202496
20.425245
3.136208
1,765.902466
1,153.262207
1,766.012329
1,173.687256
1,823.213989
1,173.37915
1,823.104126
1,152.954102
0.908211
2
Site A
B5
null
322
07:35:29.949
319
386
1,794.604492
1,163.339111
57.28656
20.47823
3.138606
1,765.930664
1,153.185669
1,765.991943
1,173.663696
1,823.27832
1,173.492554
1,823.217041
1,153.014526
0.909936
2
Site A
B5
null
322
07:35:29.982
319
387
1,794.781372
1,163.311523
57.273041
20.497669
3.138148
1,766.109741
1,153.161377
1,766.180298
1,173.658936
1,823.453003
1,173.46167
1,823.382446
1,152.964111
0.908797
2
Site A
B5
null
322
07:35:30.016
319
388
1,794.966064
1,163.214966
57.281338
20.526772
3.140385
1,766.312988
1,152.986084
1,766.337891
1,173.512939
1,823.619141
1,173.443848
1,823.594238
1,152.916992
0.908377
2
Site A
B5
null
322
07:35:30.049
319
389
1,795.024292
1,163.164063
57.292488
20.554262
3.139948
1,766.361206
1,152.934082
1,766.394897
1,173.488281
1,823.687378
1,173.394043
1,823.653687
1,152.839844
0.908237
2
Site A
B5
null
322
07:35:30.082
319
390
1,795.108887
1,163.180298
57.318127
20.574427
3.134799
1,766.380615
1,153.088013
1,766.520264
1,173.661987
1,823.837158
1,173.272583
1,823.69751
1,152.698608
0.903245
2
Site A
B5
null
322
07:35:30.115
319
391
1,795.1073
1,163.156738
57.509438
20.648407
3.134819
1,766.283325
1,153.027588
1,766.423218
1,173.675537
1,823.931274
1,173.285889
1,823.791382
1,152.637939
0.902415
2
Site A
B5
null
322
07:35:30.150
319
392
1,795.244263
1,163.103638
57.645672
20.720274
3.134815
1,766.351929
1,152.939087
1,766.49231
1,173.658813
1,824.136597
1,173.268188
1,823.996216
1,152.548462
0.901963
2
Site A
B5
null
322
07:35:30.182
319
393
1,795.336914
1,163.107056
57.441902
20.661926
3.134249
1,766.540894
1,152.987305
1,766.692505
1,173.648682
1,824.132935
1,173.226807
1,823.981323
1,152.56543
0.901507
2
Site A
B5
null
322
07:35:30.216
319
394
1,795.420898
1,163.07959
57.549282
20.715107
3.13302
1,766.558594
1,152.969116
1,766.736084
1,173.683472
1,824.283203
1,173.190063
1,824.105713
1,152.475708
0.899282
2
Site A
B5
null
322
07:35:30.250
319
395
1,795.864746
1,163.078491
57.519299
20.728848
3.134471
1,767.031982
1,152.919189
1,767.179688
1,173.647461
1,824.69751
1,173.237793
1,824.549805
1,152.509521
0.896604
2
Site A
B5
null
322
07:35:30.282
319
396
1,795.918335
1,163.109131
57.252544
20.636629
3.132272
1,767.197144
1,153.058105
1,767.389526
1,173.693848
1,824.639526
1,173.160156
1,824.447144
1,152.524414
0.89743
2
Site A
B5
null
322
07:35:30.316
End of preview.
YAML Metadata Warning: empty or missing yaml metadata in repo card (https://huggingface.co/docs/hub/datasets-cards)

The DRIFT Open Dataset

Overview

DRIFT (Drone-derived Intelligent for Traffic analysis) is an open-source dataset designed to support advanced traffic behavior research using high-resolution drone imagery. It enables accurate vehicle detection, trajectory tracking, and traffic flow analysis across complex urban intersections.

Objectives

  • Provide a large-scale, annotated drone dataset optimized for traffic analysis
  • Support urban mobility research with pre-trained models and analytical tools
  • Enable multi-scale traffic analysis (microscopic, mesoscopic, and macroscopic)

Contributions

  • o detect and track vehicle instances in high resolution using polygon-based oriented bounding boxes (OBB) at an altitude of 250 meters
  • To stabilize video data and real-world orthophoto-mapped trajectories
  • To provide 81,699 annotated vehicle trajectories collected across 2.6 km of urban roadways
  • To offer object detection/tracking model for customization and the built-in tools for lane-change analysis, time-to-collision (TTC), congestion detection, flow-density analysis, and more

Dataset Specifications![ttc_new]

  • Site coverage: 9 interconnected urban intersections in Daejeon, South Korea
    • Target site: From 99 Daehak-ro to 291 Daehak-ro Daejeon in South Korea Image
  • Imagery: 4K drone footage with frame-level annotations
  • Trajectory format: Real-world coordinates with speed, acceleration, and heading
  • Model: YOLOv11m + ByteTrack with polygon-based OBB detection

Demos

  • Frame stabilization
  • Result of object detection using YOLOv11m model (approximately 300K vehicle instances manually annotated)
  • Visualized trajectories in DRIFT open dataset

Quick Start

# Clone the repository
git clone https://github.com/AIxMobility/The-DRIFT

Load Dataset

# DRIFT dataset load
from datasets import load_dataset

dataset = load_dataset("Hj-Lee/The-DRIFT")

Model Customization

# Create conda env
conda create -n DRIFT python=3.11 -y

# Install dependencies
pip install -r requirements.txt

# Preprocess the dataset
sh extraction/preprocessing/run.sh

# Stabilize drone video
sh extraction/stabilo/run.sh

# Train detection model
python model/train.py

Repository Structure

β”‚
β”œβ”€β”€ data/                      # Raw and processed drone data
β”‚   β”œβ”€β”€ csv/                   # Frame-level trajectory metadata
β”‚   β”œβ”€β”€ sample_video/          # Sample drone videos
β”‚   β”œβ”€β”€ site_images/           # Reference frames in each site
β”‚
β”œβ”€β”€ extraction/                # Data extraction and stabilization
β”‚   β”œβ”€β”€ preprocessing/         # Preprocessing pipeline
β”‚   β”‚   β”œβ”€β”€ detect_and_track.py
β”‚   β”‚   β”œβ”€β”€ json_to_csv.py             
β”‚   β”‚   β”œβ”€β”€ lane.py
β”‚   β”‚   β”œβ”€β”€ RoI.json
β”‚   β”‚   β”œβ”€β”€ run.sh
β”‚   β”œβ”€β”€ stabilo/               # Stabilization scripts (Ack.: https://github.com/rfonod/stabilo)
β”‚   β”‚   β”œβ”€β”€ run.sh
|
β”œβ”€β”€ model/                     # Annotation data and model training
β”‚   β”œβ”€β”€ test/                   
β”‚   β”œβ”€β”€ train/           
β”‚   β”œβ”€β”€ valid/
β”‚   β”œβ”€β”€ data.yaml                   
β”‚   β”œβ”€β”€ drone_data.yaml           
β”‚   β”œβ”€β”€ train.py
β”‚   β”œβ”€β”€ best.pt
|
β”œβ”€β”€ utils/                     # Utility scripts for data handling
β”‚   β”œβ”€β”€ convert.py
β”‚   β”œβ”€β”€ video_to_frame.py
β”‚
β”œβ”€β”€ vis/                       # Visualization scripts and tools
β”‚
β”œβ”€β”€ notebooks/
β”‚   β”œβ”€β”€ data_exploration.ipynb
β”‚   β”œβ”€β”€ performance_analysis.ipynb
β”‚
β”œβ”€β”€ requirements.txt
β”œβ”€β”€ README.md
└── LICENSE

Visualizations of Traffic Analysis Tools

Scale Description Image
Microscopic Lane Change (LC)
Time-to-Collision (TTC)
Mesoscopic Flow-Density Diagram
Time-Space Diagram
Macroscopic Speed Heatmap

Citation

If you use this project in your academic research, commercial products, or any published material, please acknowledge its use by citing it.

@misc{lee2025driftopendatasetdronederived,
      title={DRIFT open dataset: A drone-derived intelligence for traffic analysis in urban environment}, 
      author={Hyejin Lee and Seokjun Hong and Jeonghoon Song and Haechan Cho and Zhixiong Jin and Byeonghun Kim and Joobin Jin and Jaegyun Im and Byeongjoon Noh and Hwasoo Yeo},
      year={2025},
      eprint={2504.11019},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2504.11019}, 
}
Downloads last month
97