METEOR2 for Autoware (meteor2)

Surround-view multi-task driving network, second generation of METEOR: 8 cameras at 1152 × 648 plus ego speed and ego-motion history in; BEV segmentation, 3D boxes, 3D semantic occupancy, depth, 2D segmentation / detection, traffic-light state and a 6 s ego path (three candidates, optional route points) out of one ResNet-18 network.

METEOR2 comes as two forms of one network that differ only in the camera-to-BEV lift:

Lift Calibration Operators Target
METEOR2, Gather form (meteor2_gather.*) exact geometric lift K / T_cam_ego are run-time inputs standard ONNX incl. GridSample GPUs
METEOR2, NPU form (meteor2_npu.*) learned block low-rank maps, distilled from the geometric lift inside the weights (reference 8-camera rig) Conv / constant MatMul / Slice / Add …, no Gather, ScatterND or GridSample accelerators without resampling operators

Code, training recipe and tools: https://github.com/tier4/METEOR (bevlane/meteorite.py, bevlane/train_meteorite.py, tools/meteor2/).

METEOR2 is published as a reference model; an Autoware (ROS 2) node does not exist yet.

Demo

Gather form (GPUs):

NPU form:

Four scenes of the published demo set (AutowareFoundation/meteor-demo-scenes), faces and licence plates blurred; 5 Hz frames played at 2× speed. Each frame shows the 8 cameras with predicted depth, the BEV map with 3D boxes, the ego path up to 6 s and the 3D occupancy. The videos were rendered on 2026-11-24 with development checkpoints of the two forms; the released v1.0 weights were trained further (occupancy head), so their outputs differ slightly.

Model overview

Task One forward pass: BEV segmentation (9 cls, 0.2 m), 3D oriented boxes (vehicle / pedestrian) with parked/stopped flag and per-agent 3 s forecast, 3D semantic occupancy (10 cls, ±40 m, 0.4 m, 16 height bins), metric depth, 2D semantic segmentation (21 cls), 2D detection (10 cls), ego path (3 candidates; 3 s and 6 s at 0.5 s steps), ego-relevant traffic-light state, area risk field
Architecture ResNet-18 + FPN-lite image backbone (feature stride 4) → depth-weighted column features → camera-to-BEV lift (geometric or learned low-rank) + ground projection → BEV encoder (400 × 250 @ 0.4 m, ±80 m × ±50 m) → task heads
Cameras 8 views, fixed order: CAM_FRONT_WIDE, CAM_FRONT_LEFT, CAM_FRONT_RIGHT, CAM_BACK_WIDE, CAM_BACK_LEFT, CAM_BACK_RIGHT, CAM_FRONT_NARROW, CAM_BACK_NARROW
Input resolution 1152 × 648 per camera, RGB uint8 (normalisation inside the graph)
Other inputs ego speed, longitudinal acceleration, ego-motion history (4 s, 8 × 4 values), optional route points (zeros = no route). No HD map, LiDAR or radar
Temporal memory None: single-frame network. The ego path reads the ego-motion history input
Parameters Gather form 19.4 M; NPU form 370.3 M (18.8 M network + 351.5 M lift maps)
Format PyTorch checkpoint + ONNX (opset 17, no custom ops, static shapes, batch 1). TensorRT engines are built locally
License Apache-2.0

Results

Model Vehicle AP Pedestrian AP BEV mIoU OCC mIoU 3 s ADE 6 s ADE (route) 6 s ADE (no route)
METEOR2, Gather form 0.495 0.213 0.186 0.197 0.554 m 1.424 m 1.529 m
METEOR2, NPU form 0.488 0.212 0.185 0.190 0.559 m 1.431 m 1.532 m

In-house validation set (cameras + ego-motion history, no HD map, LiDAR or radar). Vehicle / pedestrian AP = BEV box AP, OCC mIoU = mean over the occupied classes (free space excluded), ADE = mean L2 error of the waypoints at 0.5 s steps, measured with METEOR_KIN_STOP_GATE=0.3. The Gather-form row uses the two-block OCC head (--occ-deep 2).

These numbers were measured with the PyTorch checkpoints (mixed precision). The ONNX files reproduce the PyTorch fp32 outputs to within the tolerances listed under Provenance; the table was not re-measured through the ONNX files.

Files

File Size Description
meteor2_gather.onnx 82 MB Gather form, plain ONNX. Calibration is a run-time input, so the graph is not tied to one rig
meteor2_gather.pt 78 MB Gather form, PyTorch checkpoint (EMA weights, no optimizer state, architecture arguments only). Source of the ONNX
meteor2_gather.param.yaml Inputs, outputs, shapes, class lists, grids and host-side defaults of the Gather form
meteor2_npu.onnx 1.48 GB NPU form, plain ONNX in a single file (the low-rank lift maps are initializers). No calibration input
meteor2_npu.pt 1.48 GB NPU form, PyTorch checkpoint (EMA weights, no optimizer state, architecture arguments only). Source of the ONNX
meteor2_npu.param.yaml Same for the NPU form
deploy_metadata.yaml Deployment metadata recording the artifact version of this repository
SHA256SUMS Checksums of every file in this repository

TensorRT engines are not distributed here. Engines are specific to the GPU architecture and TensorRT version they are built on; build them locally from the ONNX files. These ONNX files were checked with onnxruntime only (see Provenance); a TensorRT build of them has not been verified. The NPU-form ONNX is the plain floating-point graph of the evaluation path; vendor-specific graph layouts for a particular accelerator tool chain are produced by deploy/export_mite_ckpt.py in the repository from the checkpoint.

Inputs and outputs (ONNX)

Inputs

Tensor dtype / shape Notes
imgs uint8 [1, 8, 3, 648, 1152] RGB 0..255, camera order as above
K (Gather form only) float32 [1, 8, 3, 3] intrinsics at 1152 × 648
T_cam_ego (Gather form only) float32 [1, 8, 4, 4] ego → camera transforms (ego: x forward, y left, z up; camera: x right, y down, z forward)
v0 float32 [1] ego speed, m/s
acc float32 [1, 1] longitudinal acceleration from past samples, m/s²; zeros when unknown
ego_hist float32 [1, 32] ego-motion history of the last 4 s: 8 rows of 0.5 s, newest first, each (speed / 10, longitudinal acceleration / 3, yaw rate / 0.5, curvature / 0.1) in SI units; rows without history are zeros
route float32 [1, 13] 6 route points (x, y) / 10 at 5, 10, 15, 20, 30 and 50 m of arc length ahead along the route (ego frame, metres), then a flag 1.0. All zeros = no route

Outputs (14 tensors; the *.param.yaml files list shape, dtype and meaning of each)

Tensor Notes
lane_logit 9-class BEV segmentation logits [1, 9, 800, 500], 160 × 100 m @ 0.2 m; row = (80 − x) / 0.2, col = (50 − y) / 0.2
hm, reg, stationary, traj 3D boxes at 0.4 m [1, ·, 400, 250]: centre heatmap logits (vehicle, pedestrian), regression (offsets, log size, sin 2·yaw, cos 2·yaw), parked flag, per-agent 3 s futures
ego [1, 42]: 3 path candidates × 6 waypoints (x, y) at 0.5 s, 3 candidate scores (indices 36..38, take the argmax), steer / accel / brake
ego_path_6s [1, 3, 12, 2]: the 3 candidates extended to 6 s (12 waypoints at 0.5 s). Uses route; for v0 < 0.3 m/s the points beyond 3 s are the linear extension of the 3 s path (stop gate, part of the graph)
occ_logit [1, 10, 16, 200, 200] = class × z × row × col, ±40 m, 0.4 m, z from −1.0 to 5.4 m
depth_logit [1, 8, 64, 162, 288]: 64 log-spaced depth bins (1.5 – 90 m) per camera at 1/4 resolution
seg2d_logit, hm2d, reg2d per-camera 2D segmentation (21 cls) and 2D detection (10 cls) at 1/4 resolution
tl, risk traffic-light logits (none / green / yellow / red), area risk logits

All dense outputs are raw logits; argmax, sigmoid, box decoding (5 × 5 peak selection on the heatmap) and any temporal fusion run in the host, not in the graph.

Usage

pip install onnxruntime numpy huggingface_hub
hf download AutowareFoundation/meteor2 meteor2_gather.onnx meteor2_gather.param.yaml --local-dir meteor2
import numpy as np
import onnxruntime as ort

sess = ort.InferenceSession("meteor2/meteor2_gather.onnx", providers=["CPUExecutionProvider"])

# Replace with real data: 8 RGB images resized to 1152 x 648 in the camera order above,
# intrinsics scaled to that size, and ego -> camera transforms.
feed = {
    "imgs": np.zeros((1, 8, 3, 648, 1152), np.uint8),
    "K": np.tile(np.array([[600, 0, 576], [0, 600, 324], [0, 0, 1]], np.float32), (1, 8, 1, 1)),
    "T_cam_ego": np.tile(np.eye(4, dtype=np.float32), (1, 8, 1, 1)),
    "v0": np.array([8.0], np.float32),            # ego speed, m/s
    "acc": np.zeros((1, 1), np.float32),          # longitudinal acceleration, m/s^2
    "ego_hist": np.zeros((1, 32), np.float32),    # ego-motion history (see the input table)
    "route": np.zeros((1, 13), np.float32),       # zeros = no route
}
names = [o.name for o in sess.get_outputs()]
# the NPU form has no K / T_cam_ego input: feed only what the graph asks for
out = dict(zip(names, sess.run(None, {i.name: feed[i.name] for i in sess.get_inputs()})))

k = int(out["ego"][0, 36:39].argmax())            # chosen candidate
path_6s = out["ego_path_6s"][0, k]                # [12, 2]: (x forward, y left) in metres, 0.5 s steps
bev = out["lane_logit"][0].argmax(0)              # [800, 500] class index
occ = out["occ_logit"][0].argmax(0)               # [16, 200, 200] class index
box_score = 1.0 / (1.0 + np.exp(-out["hm"][0]))   # [2, 400, 250]

On a CPU one frame takes a few seconds. To rebuild the PyTorch model from a checkpoint, use bevlane.probe_net.load_full("meteor2_gather.pt") in the repository (evaluation wrapper) and tools/meteor2/eval_ego6.py / tools/meteor2/probe_occ.py for the path and occupancy metrics.

Training

Trained with the repository's bevlane/train_meteorite.py on in-house driving recordings; no public dataset was used for these weights. The supervision signals (BEV segmentation, depth, boxes, occupancy, trajectories, traffic-light state, risk) are generated by the auto-labelling tools in the repository. The low-rank lift of the NPU form is distilled from the geometric lift. The 6 s head was trained with route dropout, so it works with and without route points; in the validation above the route points are taken from the path that was actually driven.

Limitations

  • Reference model. There is no Autoware node yet; the files are meant for evaluation, visualisation and as a reference for integration. It is not a certified driving system and must not control a vehicle on public roads.
  • Sensor configuration. Trained only on one 8-camera rig geometry at 1152 × 648. The NPU form has that geometry inside its lift weights and cannot be used with another rig without re-training. The Gather form takes K / T_cam_ego as inputs and therefore runs with another calibration, but accuracy on other rigs has not been measured.
  • In-house validation only. The numbers above come from an in-house validation set and are not comparable to public benchmarks.
  • Ego path inputs. The ego path uses the ego-motion history input (and speed / acceleration); the published path errors were measured with it. Behaviour with a zero history has not been characterised for these weights.
  • Single frame. No temporal memory; the perception outputs do not use previous frames.
  • Deployment. No TensorRT or accelerator build of these ONNX files has been verified.

Provenance

Original source https://github.com/tier4/METEOR (bevlane/meteorite.py; the ONNX graphs are the evaluation path forward_geo with every side input made a graph input)
This repository AutowareFoundation/meteor2, tag v1.0
Export 2026-12-02, PyTorch 2.11.0 TorchScript exporter, opset 17, constant folding; from meteor2_gather.pt / meteor2_npu.pt
Check onnxruntime 1.23.2 (CPU) against the PyTorch model in fp32 on 24 validation frames (one per scene), with route, without route and with the speed forced to 0 / 0.29 / 0.31 m/s
ONNX vs PyTorch fp32 (worst case over all runs) Gather form NPU form
Runs (frames) 55 (24) 55 (24)
Ego path, max waypoint difference (3 s and 6 s, all candidates) 0.0229 cm 0.0229 cm
BEV segmentation argmax agreement (min) 100.0000 % 99.9997 %
Occupancy argmax agreement (min) 99.9994 % 99.9997 %
Box heatmap logits, max abs difference 4.8e-05 5.0e-05
Largest abs difference over all 14 outputs (logits) 1.1e-03 1.1e-03

The ONNX files take uint8 images, while the validation pipeline behind the results table feeds float images (scaled to 0..1 before the resize to 1152 × 648). Rounding those images to uint8 changes the PyTorch outputs slightly (chosen 6 s path: median 4 cm per frame) without changing the path error: on 206 validation frames the 3 s / 6 s ADE is 0.618 / 1.532 m with float images and 0.616 / 1.528 m with uint8 images for the Gather form, and 0.597 / 1.473 m against 0.592 / 1.471 m for the NPU form. AP and mIoU were not re-measured with uint8 images.

The checkpoints hold the weights and the architecture arguments only (training hyper-parameters and paths were removed; every tensor is unchanged). The image normalisation and the stop gate (0.3 m/s) are part of the ONNX graphs. One operator was rewritten for the export: the adaptive average pooling in the 6 s head (200 × 125 → 16 × 10) is expressed as two constant MatMuls with the same averaging weights.

References

Downloads last month

-

Downloads are not tracked for this model. How to track
Video Preview
loading