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 1 new columns ({'<osm_xy>'}) and 1 missing columns ({'<?xml version="1.0"?>'}).

This happened while the csv dataset builder was generating data using

zip://INTERACTION-Dataset-TC-v1_0/maps/TC_BGR_Intersection_VA.osm_xy::hf://datasets/Manishaaaaa5/INTERACTION-dataset@bc8a5b9ac78b52f4aff4d69d96f4926c7496063e/INTERACTION-Dataset-TC-v1_0.zip, ['hf://datasets/Manishaaaaa5/INTERACTION-dataset@bc8a5b9ac78b52f4aff4d69d96f4926c7496063e/INTERACTION-Dataset-TC-v1_0.zip']

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.14/site-packages/datasets/builder.py", line 1856, in _prepare_split_single
                  writer.write_table(table)
                  ~~~~~~~~~~~~~~~~~~^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 811, in write_table
                  self._write_table(pa_table, writer_batch_size=writer_batch_size)
                  ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 822, in _write_table
                  pa_table = table_cast(pa_table, self._schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2381, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2309, in cast_table_to_schema
                  raise CastError(
                  ...<3 lines>...
                  )
              datasets.table.CastError: Couldn't cast
              <osm_xy>: string
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 396
              to
              {'<?xml version="1.0"?>': 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 1379, in compute_config_parquet_and_info_response
                  parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
                                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~^
                      builder, max_dataset_size_bytes=max_dataset_size_bytes
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  )
                  ^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 956, in stream_convert_to_parquet
                  builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
                  ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1702, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~^
                      gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  ):
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1858, in _prepare_split_single
                  raise DatasetGenerationCastError.from_cast_error(
                  ...<4 lines>...
                  )
              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 1 new columns ({'<osm_xy>'}) and 1 missing columns ({'<?xml version="1.0"?>'}).
              
              This happened while the csv dataset builder was generating data using
              
              zip://INTERACTION-Dataset-TC-v1_0/maps/TC_BGR_Intersection_VA.osm_xy::hf://datasets/Manishaaaaa5/INTERACTION-dataset@bc8a5b9ac78b52f4aff4d69d96f4926c7496063e/INTERACTION-Dataset-TC-v1_0.zip, ['hf://datasets/Manishaaaaa5/INTERACTION-dataset@bc8a5b9ac78b52f4aff4d69d96f4926c7496063e/INTERACTION-Dataset-TC-v1_0.zip']
              
              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.

<?xml version="1.0"?>
string
<osm version="0.6" generator="lanelet2">
<node id="1000" visible="true" version="1" lat="0.00892368438" lon="0.00901239266" />
<node id="1001" visible="true" version="1" lat="0.00914523477" lon="0.00910186286" />
<node id="1002" visible="true" version="1" lat="0.00903828681" lon="0.00882422982" />
<node id="1003" visible="true" version="1" lat="0.0090919196" lon="0.0088320617" />
<node id="1004" visible="true" version="1" lat="0.00905535035" lon="0.00885505786" />
<node id="1005" visible="true" version="1" lat="0.00901024896" lon="0.00886949051" />
<node id="1006" visible="true" version="1" lat="0.00897002353" lon="0.00887903022" />
<node id="1007" visible="true" version="1" lat="0.00892077824" lon="0.00888245297" />
<node id="1008" visible="true" version="1" lat="0.00906705453" lon="0.00880857307" />
<node id="1009" visible="true" version="1" lat="0.00900293675" lon="0.00884159888" />
<node id="1010" visible="true" version="1" lat="0.0089393078" lon="0.00884918009" />
<node id="1011" visible="true" version="1" lat="0.00905326781" lon="0.00912632856" />
<node id="1012" visible="true" version="1" lat="0.00904260719" lon="0.00867270066" />
<node id="1013" visible="true" version="1" lat="0.00893561244" lon="0.0091055726" />
<node id="1014" visible="true" version="1" lat="0.00917785542" lon="0.0089688542" />
<node id="1015" visible="true" version="1" lat="0.00892425856" lon="0.0089413168" />
<node id="1016" visible="true" version="1" lat="0.00877660222" lon="0.00881785035" />
<node id="1017" visible="true" version="1" lat="0.00921803662" lon="0.009055364" />
<node id="1018" visible="true" version="1" lat="0.00889006123" lon="0.00887731354" />
<node id="1019" visible="true" version="1" lat="0.008790692" lon="0.00878343043" />
<node id="1020" visible="true" version="1" lat="0.00887911431" lon="0.00883194815" />
<node id="1021" visible="true" version="1" lat="0.00900480538" lon="0.00916179143" />
<node id="1022" visible="true" version="1" lat="0.00894638295" lon="0.00929739261" />
<node id="1023" visible="true" version="1" lat="0.00897786868" lon="0.00915011455" />
<node id="1024" visible="true" version="1" lat="0.00891886863" lon="0.0092839606" />
<node id="1025" visible="true" version="1" lat="0.00894893653" lon="0.00914062674" />
<node id="1026" visible="true" version="1" lat="0.0088910654" lon="0.00927197525" />
<node id="1027" visible="true" version="1" lat="0.00913563784" lon="0.0085496338" />
<node id="1028" visible="true" version="1" lat="0.00912854087" lon="0.00868528607" />
<node id="1029" visible="true" version="1" lat="0.00910559127" lon="0.00874293321" />
<node id="1030" visible="true" version="1" lat="0.00882373398" lon="0.00923696149" />
<node id="1031" visible="true" version="1" lat="0.00910060224" lon="0.00875533829" />
<node id="1032" visible="true" version="1" lat="0.00909760902" lon="0.00875898676" />
<node id="1033" visible="true" version="1" lat="0.00909162286" lon="0.00876117562" />
<node id="1034" visible="true" version="1" lat="0.00911065161" lon="0.00853795678" />
<node id="1035" visible="true" version="1" lat="0.0088918707" lon="0.00908774315" />
<node id="1036" visible="true" version="1" lat="0.00908763231" lon="0.00875825651" />
<node id="1037" visible="true" version="1" lat="0.00908763261" lon="0.0087524187" />
<node id="1039" visible="true" version="1" lat="0.00890248329" lon="0.0090617932" />
<node id="1040" visible="true" version="1" lat="0.00916198752" lon="0.00856109438" />
<node id="1041" visible="true" version="1" lat="0.0088531322" lon="0.00924960087" />
<node id="1042" visible="true" version="1" lat="0.00892798821" lon="0.00907932858" />
<node id="1043" visible="true" version="1" lat="0.00893211657" lon="0.00906824949" />
<node id="1044" visible="true" version="1" lat="0.00894601762" lon="0.00905743759" />
<node id="1045" visible="true" version="1" lat="0.00895001482" lon="0.00906015457" />
<node id="1046" visible="true" version="1" lat="0.00895185633" lon="0.00906338364" />
<node id="1047" visible="true" version="1" lat="0.00895179513" lon="0.00906890289" />
<node id="1048" visible="true" version="1" lat="0.00894794179" lon="0.00907787007" />
<node id="1049" visible="true" version="1" lat="0.0088651262" lon="0.00926394708" />
<node id="1050" visible="true" version="1" lat="0.00880870357" lon="0.00875128174" />
<node id="1051" visible="true" version="1" lat="0.00882247191" lon="0.00875847019" />
<node id="1052" visible="true" version="1" lat="0.00883845679" lon="0.00876700014" />
<node id="1053" visible="true" version="1" lat="0.00886814306" lon="0.00877065035" />
<node id="1054" visible="true" version="1" lat="0.00889508031" lon="0.00877065176" />
<node id="1055" visible="true" version="1" lat="0.00892401315" lon="0.00876554518" />
<node id="1056" visible="true" version="1" lat="0.0089449646" lon="0.00876043819" />
<node id="1057" visible="true" version="1" lat="0.00896691396" lon="0.00875095288" />
<node id="1058" visible="true" version="1" lat="0.00935470417" lon="0.0091971059" />
<node id="1059" visible="true" version="1" lat="0.00913251086" lon="0.0090968517" />
<node id="1060" visible="true" version="1" lat="0.00919486213" lon="0.00914338534" />
<node id="1061" visible="true" version="1" lat="0.0091913424" lon="0.00874050714" />
<node id="1062" visible="true" version="1" lat="0.00915042838" lon="0.00881899191" />
<node id="1063" visible="true" version="1" lat="0.0091425" lon="0.00884436704" />
<node id="1064" visible="true" version="1" lat="0.0091385081" lon="0.00886771806" />
<node id="1065" visible="true" version="1" lat="0.00919536973" lon="0.00898593643" />
<node id="1066" visible="true" version="1" lat="0.00902733985" lon="0.00917038094" />
<node id="1067" visible="true" version="1" lat="0.00886251111" lon="0.00886392419" />
<node id="1068" visible="true" version="1" lat="0.00913424452" lon="0.00904121105" />
<node id="1069" visible="true" version="1" lat="0.00937844542" lon="0.00916954942" />
<node id="1070" visible="true" version="1" lat="0.00916116169" lon="0.00894968463" />
<node id="1071" visible="true" version="1" lat="0.0091512083" lon="0.00893292171" />
<node id="1072" visible="true" version="1" lat="0.00914050136" lon="0.00890931254" />
<node id="1073" visible="true" version="1" lat="0.00913850715" lon="0.00888669093" />
<node id="1074" visible="true" version="1" lat="0.00907564281" lon="0.00910852465" />
<node id="1075" visible="true" version="1" lat="0.0090477068" lon="0.0091318746" />
<node id="1076" visible="true" version="1" lat="0.00916731547" lon="0.00878117663" />
<node id="1077" visible="true" version="1" lat="0.00906248612" lon="0.00875505366" />
<node id="1078" visible="true" version="1" lat="0.00902874946" lon="0.00916471144" />
<node id="1079" visible="true" version="1" lat="0.0093079673" lon="0.00924549051" />
<node id="1080" visible="true" version="1" lat="0.00903243501" lon="0.008846738" />
<node id="1081" visible="true" version="1" lat="0.00897147413" lon="0.00930669303" />
<node id="1082" visible="true" version="1" lat="0.00879584984" lon="0.009223245" />
<node id="1083" visible="true" version="1" lat="0.009147579" lon="0.00910490227" />
<node id="1084" visible="true" version="1" lat="0.0090285312" lon="0.00891034943" />
<node id="1085" visible="true" version="1" lat="0.00888975938" lon="0.00900684746" />
<node id="1086" visible="true" version="1" lat="0.00910756893" lon="0.00909758025" />
<node id="1087" visible="true" version="1" lat="0.0090387675" lon="0.00896613244" />
<node id="1088" visible="true" version="1" lat="0.00906949021" lon="0.00885114403" />
<node id="1089" visible="true" version="1" lat="0.00889389589" lon="0.00897820737" />
<node id="1090" visible="true" version="1" lat="0.00888954995" lon="0.00895440479" />
<node id="1091" visible="true" version="1" lat="0.00905868174" lon="0.00912092921" />
<node id="1092" visible="true" version="1" lat="0.00906801911" lon="0.00902485226" />
<node id="1093" visible="true" version="1" lat="0.00906631811" lon="0.00890790497" />
<node id="1094" visible="true" version="1" lat="0.00887139485" lon="0.00891830894" />
<node id="1095" visible="true" version="1" lat="0.00884482457" lon="0.00889288091" />
<node id="1096" visible="true" version="1" lat="0.00903573389" lon="0.0091493875" />
<node id="1097" visible="true" version="1" lat="0.00912628103" lon="0.00908699889" />
<node id="1098" visible="true" version="1" lat="0.00907533572" lon="0.00895830536" />
<node id="1099" visible="true" version="1" lat="0.00880621835" lon="0.00887204551" />
End of preview.

About

The INTERACTION dataset contains naturalistic motions of various traffic participants in a variety of highly interactive driving scenarios from different countries. The dataset can serve for many behavior-related research areas, such as

  1. intention/behavior/motion prediction,
  2. behavior cloning, imitation learning, and inverse reinforcement learning,
  3. behavior analysis and modeling,
  4. reinforcement learning,
  5. decision-making and planning algorithm development and verification,
  6. interactive behavior extraction and categorization,
  7. driving scenario/case/behavior generation.

Features

International

Interactive motions from several countries, including United States , China, Germany and Bulgaria are provided. Similar scenarios (roundabout and merging) from different locations are included with different driving cultures and traffic rules.

Scenario diversity

The dataset provides trajectories in unsignalized intersections with two/all-way stops, signalized intersections with unprotected left turns, roundabounts with stop/yield signs, as well as zipper merging and lane changes in urban and highway scenarios.

Behavior complexity

The dataset contains complex driving behavior including negotiations, inexplicit right-of-way, irrational behavior and aggressive maneuvers.

Situation criticality

Critical trajectories are included in this dataset such as near-collision situations, and even a minor accident. Relevant criticality statistics were also provided.

HD map with full semantics

HD maps using the format of Lanelet2 with full semantics are also provided, such as lane connections, turn directions traffic rules, etc., which are crucial for behavior-related research.

Multiple views

Processing data captured from multiple views enables us to obtain accurate trajecotries and complete view from drones, and utilize the potential, unlimited resources from traffic cameras.

Website transition

Please note that we are sunsetting the previous website https://interaction-dataset.com and move the dataset download and further maintenance to this Hugging Face page.

Citation

The preprint version of our paper presenting the dataset is now available on arXiv. Please cite the following paper if the INTERACTION dataset is used.

@article{interactiondataset, title = {{INTERACTION} {Dataset}: {An} {INTERnational}, {Adversarial} and {Cooperative} {moTION} {Dataset} in {Interactive} {Driving} {Scenarios} with {Semantic} {Maps}}, journal = {arXiv:1910.03088 [cs, eess]}, author = {Zhan, Wei and Sun, Liting and Wang, Di and Shi, Haojie and Clausse, Aubrey and Naumann, Maximilian and K"ummerle, Julius and K"onigshof, Hendrik and Stiller, Christoph and de La Fortelle, Arnaud and Tomizuka, Masayoshi}, month = sep, year = {2019}}

Dataset summary

The INTERACTION dataset provides 4 different categories of interactive driving scenarios: roundabout, un-signalized intersection, signalized intersection, merging and lane changing. In total, we have collected data from 11 locations using drones or fixed cameras. 12 folders are included in the released "recorded_trackfiles" folder. Folders with "DR_" are track files recorded via drones and folders with "TC_" are track files recorded via fixed cameras. The summary of the data is listed in the following table.

format

For the 11 recording locations, we include three files for each location:

  1. High definition (HD) map (xxx.osm)
  2. Recorded vehicle track files (vehicle_tracks_xxx.csv)
  3. Recorded pedestrian track files (pedestrian_tracks_xxx.csv)

Please note that the maps are with relative coordinate. We did not collect any information with absolute latitude or longitude, thus no real latitude or longitude can be found from the maps in the dataset. Also, only motions/trajectories and maps are provided, and no raw image is included. However, semantic label map (images) can be generated from the dataset as the input of prediction and imitation models with information of motions and maps.

Visualization tool

We also have provided a visualization tool (in python) for the users to visualize the HD map and the tracks. You can download the visualization tool here.

Meta Information of the Track Files

This file contains all time-dependent values for each track. Information such as track id, vehicle types, vehicle sizes, current positions, current velocities, and orientations are included.

Recorded Vehicle Tracks Files (vehicle_tracks_xxx.csv)

  • track_id: column 1. For each vehicle_tracks_xxx.csv file, the track_id starts from 1, and represent the ID of the agent.
  • frame_id: column 2. For each agent (per track_id), frame_id starts from 1 and represents the frames the agent appears in the video.
  • timestamp_ms: column 3. For each agent (per track_id), timestamp_ms from 100ms, and represents the time the agent appears in the video. The unit is ms.
  • agent_type: column 4. It represents the types of tracked agents. For example, it can be a car, a truck and so on.
  • x: column 5, the x position of the agent at each frame. The unit is m.
  • y: column 6, the y position of the agent at each frame. The unit is m.
  • vx: column 7, the velocity of the agent along x-direction at each frame. The unit is m/s.
  • vy: column 8, the velocity of the agent along y-direction at each frame. The unit is m/s.
  • psi_rad: column 9, the yaw angle of the agent at each frame. The unit is rad.
  • length: column 10, the length of the agent. The unit is m.
  • width: column 11, the width of the agent. The unit is m. track vehicle

Recorded Pedestrian Track Files (pedestrian_tracks_xxx.csv)

  • track_id: column 1. For each person_tracks_xxx.csv file, the track_id starts from P1, and represent the ID of the agent.
  • frame_id: column 2. For each agent (per track_id), frame_id starts from 1 and represents the frames the agent appears in the video.
  • timestamp_ms: column 3. For each agent (per track_id), timestamp_ms from 100ms, and represents the time the agent appears in the video. The unit is ms.
  • agent_type: column 4. It represents the types of tracked agents as "pedestrian/bicycle".
  • x: column 5, the x position of the agent at each frame. The unit is m.
  • y: column 6, the y position of the agent at each frame. The unit is m.
  • vx: column 7, the velocity of the agent along x-direction at each frame. The unit is m/s.
  • vy: column 8, the velocity of the agent along y-direction at each frame. The unit is m/s. track pedestrian

Contact

If you have any question or feedback regarding the dataset, please feel free to contact us via: interaction.dataset@gmail.com

Downloads last month
31

Paper for Manishaaaaa5/INTERACTION-dataset