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
Error code:   DatasetGenerationError
Exception:    ArrowNotImplementedError
Message:      Cannot write struct type 'prediction' with no child field to Parquet. Consider adding a dummy child field.
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1831, in _prepare_split_single
                  writer.write_table(table)
                File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 712, in write_table
                  self._build_writer(inferred_schema=pa_table.schema)
                File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 757, in _build_writer
                  self.pa_writer = pq.ParquetWriter(
                                   ^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/pyarrow/parquet/core.py", line 1070, in __init__
                  self.writer = _parquet.ParquetWriter(
                                ^^^^^^^^^^^^^^^^^^^^^^^
                File "pyarrow/_parquet.pyx", line 2363, in pyarrow._parquet.ParquetWriter.__cinit__
                File "pyarrow/error.pxi", line 155, in pyarrow.lib.pyarrow_internal_check_status
                File "pyarrow/error.pxi", line 92, in pyarrow.lib.check_status
              pyarrow.lib.ArrowNotImplementedError: Cannot write struct type 'prediction' with no child field to Parquet. Consider adding a dummy child field.
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1847, in _prepare_split_single
                  num_examples, num_bytes = writer.finalize()
                                            ^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 731, in finalize
                  self._build_writer(self.schema)
                File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 757, in _build_writer
                  self.pa_writer = pq.ParquetWriter(
                                   ^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/pyarrow/parquet/core.py", line 1070, in __init__
                  self.writer = _parquet.ParquetWriter(
                                ^^^^^^^^^^^^^^^^^^^^^^^
                File "pyarrow/_parquet.pyx", line 2363, in pyarrow._parquet.ParquetWriter.__cinit__
                File "pyarrow/error.pxi", line 155, in pyarrow.lib.pyarrow_internal_check_status
                File "pyarrow/error.pxi", line 92, in pyarrow.lib.check_status
              pyarrow.lib.ArrowNotImplementedError: Cannot write struct type 'prediction' with no child field to Parquet. Consider adding a dummy child field.
              
              The above exception was the direct cause of the following exception:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1339, 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 972, in convert_to_parquet
                  builder.download_and_prepare(
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 894, in download_and_prepare
                  self._download_and_prepare(
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 970, in _download_and_prepare
                  self._prepare_split(split_generator, **prepare_split_kwargs)
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1702, 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 1858, in _prepare_split_single
                  raise DatasetGenerationError("An error occurred while generating the dataset") from e
              datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset

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.

id
int64
annotations
list
file_upload
string
drafts
list
predictions
list
data
dict
meta
dict
created_at
timestamp[us, tz=UTC]
updated_at
timestamp[us, tz=UTC]
allow_skip
bool
inner_id
int64
total_annotations
int64
cancelled_annotations
int64
total_predictions
int64
comment_count
int64
unresolved_comment_count
int64
last_comment_updated_at
null
project
int64
updated_by
int64
comment_authors
list
263
[ { "bulk_created": false, "completed_by": 1, "created_at": "2026-01-03T14:05:30.855478Z", "draft_created_at": "2026-01-03T14:04:43.739843Z", "ground_truth": false, "id": 25, "import_id": null, "last_action": null, "last_created_by": null, "lead_time": 6075.672999999999, "p...
69520220-clip2_caos_READY.mp4
[]
[]
{ "video": "/data/upload/5/69520220-clip2_caos_READY.mp4" }
{}
2026-01-03T14:04:07.504000
2026-01-03T15:46:12.204000
true
1
1
0
0
0
0
null
5
1
[]

πŸš€ compaTAI: Mexico City Chaos Dataset (Video Alpha Sample)

Training AI to survive where the rules are suggestions.

compaTAI presents a high-entropy Video Tracking Dataset captured in the chaotic heart of Mexico City (CDMX). While standard datasets (Waymo, nuScenes) are built on predictable environments, compaTAI focuses on "The Chaos Edge Case": the informal and non-linear traffic behaviors unique to Latin American megacities.

⬇️ Raw videos available for download β€” annotate them yourself and train your own models.

Annotations are community-driven. Buy a pack, label it your way, contribute back.

πŸ‘‰ store.compatai.mx


🌟 Why Video Tracking?

Unlike static image datasets, our video sequence provides temporal consistency. This allows models to train for Multi-Object Tracking (MOT) and Behavior Prediction, essential for navigating environments where lane markings don't exist and movement is erratic.


🏭 How the Data is Produced

Each dataset batch originates from a real 12–16 hour taxi shift in Mexico City, generating approximately 53 raw dashcam videos (~1 GB each). These are processed through the compaTAI pipeline on AWS EC2 + Amazon Bedrock:

  1. Frame extraction β€” 30 keyframes sampled per video
    1. AI scene analysis β€” Bedrock Vision classifies behaviors per frame (confidence β‰₯ 0.82)
      1. Clip segmentation β€” 8–10 representative 15-second clips selected per video

        1. Pack assembly β€” 7–8 thematic packs of 10–30 clips per batch, organized by category

        2. This means new data drops continuously β€” every shift adds fresh real-world chaos footage.


    2. πŸ“Š Alpha Sample Specifications

  2. | Field | Value |
  3. |---|---|
  4. | Total Duration | 52.06 seconds (alpha clip) |
  5. | Total Frames | 1,562 (at 30 FPS) |
  6. | Resolution | HD (Fast-Start Streaming) |
  7. | Annotation Format | Label Studio JSONL (Temporal Bounding Box) |
  8. | Location 1 | Mexico City β€” Critical Junctions |
  9. | Location 2 | State of Mexico β€” Critical Junctions |
  10. | Type | 2D Video Rectangle Tracking + Interpolated Keyframes |

🏷️ The "Chaos" Taxonomy

Our labels capture the specific Mexican Edge Cases that standard sensors often misinterpret:

Label Description Why it matters
Pedestrian_Irregular Pedestrians crossing mid-avenue or between cars Predicts non-linear human trajectory
Street_Vendor Mobile vendors navigating active traffic lanes Unique obstacle detection for informal economies
Infrastructure_Deficit Missing signals, potholes, zero lane markings Trains defensive driving and path planning
Moto_Filtering Motorcycles weaving between lanes at high speed High-frequency proximity detection
Microbus_Stop Public transport stopping mid-road Predicts sudden traffic flow interruptions
Double_Parking Vehicles blocking lanes informally Urban navigation in constrained spaces
Intersection_Negotiation Uncontrolled intersection crossing logic Decision-making without traffic signals
Cultural_Jaywalking Pedestrian patterns unique to CDMX culture Behavior prediction in high-density zones

πŸ›’ Buy Raw Video Packs β€” Make Your Own Annotations

This alpha sample is free. Full packs with raw .mp4 clips (15s each, YOLO-ready) are available at store.compatai.mx.

No annotations included β€” you get the raw clips to label with your own tools and taxonomy. Perfect for teams building custom models.

πŸš— Informal Parking β€” cat_parking

Pack Clips Price File
Starter 10 clips Γ— 15s $29 cat_parking_pack1.zip
Pro 20 clips Γ— 15s $49 cat_parking_pack2.zip
Full 30 clips Γ— 15s $79 cat_parking_pack3.zip

🏍️ Motorcycle Weaving β€” cat_motos

Pack Clips Price File
Starter 10 clips Γ— 15s $29 cat_motos_pack1.zip
Pro 20 clips Γ— 15s $49 cat_motos_pack2.zip
Full 30 clips Γ— 15s $79 cat_motos_pack3.zip

🚦 Intersection Chaos β€” cat_intersections

Pack Clips Price File
Starter 10 clips Γ— 15s $29 cat_intersections_pack1.zip
Pro 20 clips Γ— 15s $49 cat_intersections_pack2.zip
Full 30 clips Γ— 15s $79 cat_intersections_pack3.zip

🚌 Microbus Behavior β€” cat_microbus

Pack Clips Price File
Starter 10 clips Γ— 15s $29 cat_microbus_pack1.zip
Pro 20 clips Γ— 15s $49 cat_microbus_pack2.zip
Full 30 clips Γ— 15s $79 cat_microbus_pack3.zip

🚢 Jaywalking + πŸ›’ Vendors + πŸ•³οΈ Infrastructure β€” 3 categories bundle

Pack Clips Price File
Starter 10 clips Γ— 15s $29 cat_bundle3_pack1.zip
Pro 20 clips Γ— 15s $49 cat_bundle3_pack2.zip
Full 30 clips Γ— 15s $79 cat_bundle3_pack3.zip

πŸ› οΈ Data Structure

The .jsonl file contains the temporal sequence of each object. Each annotation includes:

  • frame β€” exact frame number
    • x, y, width, height β€” normalized coordinates (0–100) for resolution-independent training

      • time β€” exact timestamp within the clip

πŸš€ How to Access

Download the raw video and JSONL metadata directly from this repository:

from datasets import load_dataset

dataset = load_dataset("manuelvaraletai/compaTAI-CDMX-Alpha")

⚠️ A compaTAI visualization utility script is coming soon.


πŸ’° Enterprise & Custom Services

This repository is a technical sample. compaTAI offers specialized data for enterprise-grade autonomous systems:

  • Full Video Datasets β€” 100+ hours of labeled CDMX traffic footage
    • Specific Edge Cases β€” Custom recordings: "Rainy Nights", "Peak Hour at Indios Verdes", etc.
      • Custom Labeling β€” We use the compaTAI pipeline to label your raw data with our specialized taxonomy
Downloads last month
74