DriveMVS (ViT-B)
Precise Depth Estimation for Autonomous Driving Powered by Synthetic Data
2 min readupdated
DriveMVS tackles depth-estimation (estimating the distance to objects from video) for autonomous driving systems. The model takes a short sequence of frames with known camera poses and, when available, sparse LiDAR data, producing a time-stable metric depth map. The ViT-B architecture checkpoint weighs 874 MB, is initialized from MVSAnywhere weights, and is fine-tuned leveraging Video Depth Anything. The main difference from baseline MVSAnywhere is its multi-prompt mode operation and a markedly lower error rate both with and without LiDAR. It suits computer vision researchers and perception algorithm developers for self-driving vehicles.
Key features
- Trained strictly on synthetic data: the model was trained exclusively on the TartanAir, TartanGround, Virtual KITTI 2, and MVS-Synth datasets, never seeing actual frames from KITTI or DDAD.
- Flexible LiDAR handling: supports 4 prompt modes — LiDAR data in current and source frames (
both), current frame only (cur_only), source frames only (src_only), or no LiDAR at all (none). - Temporal stability: the model accounts for spatio-temporal connections between adjacent frames (Spatio-Temporal Multi-View Stereo), reducing depth flickering.
- Strong zero-shot performance: even without real road data during training, the checkpoint outperforms MVSAnywhere on real-world benchmarks.
What you can do
- Reconstruct scene geometry from camera video: feed a dashcam frame sequence with known poses in
nonemode if the vehicle lacks a LiDAR sensor. - Densify sparse LiDAR data: combine rare LiDAR beams with a camera stream to get a dense metric distance map in simulators and research testbenches.
- Test sensor failure resilience: check perception system behavior during temporary LiDAR signal drops in one or multiple frames.
Example
wget -P weights [https://huggingface.co/SunQihao/DriveMVS/resolve/main/drivemvs_vitb.ckpt](https://huggingface.co/SunQihao/DriveMVS/resolve/main/drivemvs_vitb.ckpt)
python tools/evaluate.py \
--config_file configs/drivemvs/drivemvs_vitb.yaml \
--data_config_file configs/drivemvs/kitti_val.yaml \
--load_weights_from_checkpoint weights/drivemvs_vitb.ckpt \
--image_width 1248 --image_height 384 \
--eval_prompt_mode all --eval_output_json results/kitti.jsonRead more
DetailsKITTI (zero-shot, 1248×384): MAE 1.032 m without LiDAR and 0.344 m in both mode (vs 1.543 m for MVSAnywhere).
DDAD (zero-shot, 864×544): MAE 2.749 m without LiDAR and 1.730 m in both mode (vs 3.061 m for MVSAnywhere).
Training: 12,000 steps on 8 GPUs, file size
drivemvs_vitb.ckpt — 874 MB.Limitations: standard PyTorch checkpoint loads with
weights_only=False; non-commercial research-only license (based on MVSAnywhere, Niantic).









Comments