Dataset
Synchronized multimodal driving scenarios generated in CARLA, split into a normal-only training set and a test set with normal and anomalous scenarios.
Composition
Scenarios 728
Timesteps 491,100
- Train
- Test normal
- Test anomaly
| Split | Scenarios | Timesteps | Towns | Anomaly types |
|---|---|---|---|---|
| Train | 101 | 303,000 | 6 | 0 |
| Test normal | 107 | 32,100 | 6 | 0 |
| Test anomaly | 520 | 156,000 | 6 | 9 |
- Debris spawn 120
- Streetlight flickering 98
- Instant weather change 97
- Traffic light yellow blinking 78
- Vanishing actor 70
- Traffic light flickering 30
- Erratic driver 10
- Running pedestrian 9
- Turned-off traffic lights 8
Towns
Scenarios are recorded in six CARLA towns, from small grid-like suburbs (Town01, Town02) to a downtown (Town10HD) and a town with a highway loop (Town04). The training and test drives share the same roads, and the anomalies are spread across each town’s road network. In Town04 the two training scenarios cover only the town centre, while the test drives also use the highway.
15 training scenarios · 89 anomalous test scenarios, 58 located · test drives stay on the training routes
10 training scenarios · 114 anomalous test scenarios, 71 located · test drives stay on the training routes
16 training scenarios · 82 anomalous test scenarios, 50 located · test drives stay on the training routes
2 training scenarios · 73 anomalous test scenarios, 48 located · 46 % of test timesteps more than 10 m from a training route
25 training scenarios · 82 anomalous test scenarios, 48 located · test drives stay on the training routes
33 training scenarios · 80 anomalous test scenarios, 47 located · test drives stay on the training routes
Town04.
Positions come from the anomaly's actor labels or from its ground-truth mask and depth; instant weather changes and streetlight flickering affect the whole scene and are not shown.The home page shows the towns in 3D, where each anomaly opens its test drive and front-camera frames.
Weather and lighting
Three base configurations cover clear, rainy and foggy conditions, by day and at night; random interpolations between pairs produce a continuous range of atmospheric settings. Weather stays constant within each training scenario; abrupt weather transitions appear only in the test split, as a dedicated anomaly type.




Sensor setup
All sensors are mounted on the ego vehicle and record synchronously at 10 Hz: every timestep has one reading from each sensor.
| Sensor | Records | Specification | Mount |
|---|---|---|---|
| Cameras (4) | RGB, depth, instance segmentation | 1920 × 1080 px, 105° horizontal field of view | Front: 1.8 m high. Left and right: 1.0 m back, 0.9 m to the side, 1.0 m high. Rear: 2.5 m back, 1.0 m high. |
| Semantic LiDAR | Points with class and instance ID | 64 channels, 120 m range, vertical field of view +14° to −16°, about 100,000 points per timestep | With the front camera |
| GNSS | Latitude, longitude, altitude | Vehicle origin | |
| IMU | Acceleration, angular velocity, compass heading | Vehicle origin | |
| Collision sensor | Other actor and impulse of each collision | ||
| Environment | Weather and the autopilot's control commands | 14 weather parameters; throttle, steering, brake, gear |
Positions are measured from the vehicle origin; heights are above the ground.
One timestep, every sensor
All sensors are read at the same simulator tick, so files with the same number belong together: rgb-left/000232.jpg, pointclouds/000232.feather and row 232 of weather.feather describe the same moment.
Step through eight seconds of a weather-change scenario below. The fog lifts on all four cameras at once, while the semantic LiDAR is not affected by weather.
- Road
- Sidewalk and ground
- Structures
- Vegetation
- Traffic sign
- Traffic light
- Pedestrian
- Vehicle
test/anomaly/Town01/change-weather/scenario-1. Top view: LiDAR points by semantic class, KITTI boxes of road users, traffic signs and traffic lights (also projected into the cameras), and the vehicle’s path from GNSS and compass, bright ahead and faint behind. Timeline, at every simulator tick: the anomaly label, speed from GNSS, yaw rate from the IMU gyroscope and the autopilot’s commands; this clip has no collisions. Weather is on CARLA’s 0–100 scale.Anomaly types
The test split contains nine anomaly types in four categories:
- Unknown objects: instances of categories absent from the training distribution, e.g. turned-off traffic lights that never appear during training.
- Contextual anomalies: familiar objects in implausible or safety-critical contexts, e.g. debris suddenly spawning on the road.
- Temporal anomalies: inconsistencies that only become apparent over time, such as a vehicle vanishing, erratic steering, or an abrupt weather transition.
- Covariate shifts: changes in the sensor input distribution without a change in scene semantics, e.g. flickering streetlights altering night-time illumination.
Anomalies with a pixel mask can be evaluated at all four tiers (sample, sensor, timestep, scenario); those without a mask are only evaluated at the timestep and scenario levels.
| Anomaly | Category | Pixel mask | Description |
|---|---|---|---|
| Debris spawn | Contextual | Yes | Known objects suddenly appear on the road in front of the ego vehicle. |
| Turned-off traffic lights | Unknown object | Yes | Traffic lights turn off, which never occurs in training scenarios. |
| Traffic light flickering | Temporal | Yes | Traffic lights alternate erratically between red and green. |
| Traffic light yellow blinking | Temporal | Yes | Traffic lights continuously blink yellow, resembling a failure mode. |
| Erratic driver | Temporal | Yes | A car abruptly steers without apparent reason. |
| Running pedestrian | Temporal | Yes | A pedestrian moves at unusually high speed. |
| Vanishing actor | Temporal | No | A regularly driving vehicle disappears without physical cause. |
| Instant weather change | Temporal | No | Weather conditions change abruptly within a few timesteps. |
| Streetlight flickering | Covariate / temporal | No | Streetlights flicker rapidly, altering night-time illumination. |
Annotation and quality control
All labels come from the simulator, not from manual annotation. Segmentation masks, depth and LiDAR labels are rendered by CARLA’s sensors and are exact. Anomaly masks are derived from the CARLA actor IDs of the anomalous objects, so they can differ from what a person would mark as the anomalous region. The start and end of every anomaly, and with them the timestep labels, come directly from the simulator’s state and event logic. Occasional simulator artifacts are not labelled.
Every scenario was then checked independently by at least two reviewers and kept only if all of them accepted it. Reviewers verified that
- normal scenarios contain no obviously anomalous behaviour,
- anomalous scenarios contain the intended event, sufficiently visible in the front camera,
- the generated labels and masks are plausible.
Reading the data
The data format page describes the directory layout and every file, for reading the data directly.
The carlanomaly package loads it as PyTorch datasets and evaluates detectors; see its documentation.