metadriverse/metadrive

MetaDrive: Lightweight driving simulator for everyone

What it solves

MetaDrive provides a high-performance, open-source environment for training and testing autonomous driving AI. It addresses the need for diverse, generalizable training data by allowing researchers to synthesize infinite driving scenes or use real-world logs, avoiding the limitations of static datasets.

How it works

The simulator uses a compositional approach to generate various road maps and traffic settings. It integrates with the Farama Gymnasium API, making it compatible with standard reinforcement learning (RL) workflows. It supports both single-agent and multi-agent scenarios, including complex environments like roundabouts, intersections, and tollgates, and can replay scenarios from datasets like nuScenes and Waymo.

Who it’s for

AI researchers and developers focusing on autonomous driving, reinforcement learning, and embodied intelligence who need a lightweight yet realistic simulation environment that runs across multiple operating systems.

Highlights

  • High Performance: Capable of running at over 1000 FPS on a standard PC.
  • Compositional Scene Generation: Supports the synthesis of infinite scenes for generalizable RL research.
  • Rich Sensory Input: Provides point clouds, RGB/Depth/Semantic images, top-down semantic maps, and first-person views.
  • Dataset Integration: Supports loading real-world driving logs from nuScenes and Waymo.

Related

  • Project
  • Project
  • Project
  • Project