Modeldepth-estimation
apple

apple/DepthPro2-B

Depth Pro 2: Sharp and Temporally Consistent Metric Monocular Depth Model size B · 97M parameters 🚀 Try the Interactive Demo → -- | B200 | VGA | 720p | 1080p | 4K | |:---|:---:|:---:|:---:|:---:| | Throughput (fps) | 269.7 | 82.5 | 23.6 | 1.8 | | Pe...

9thích
664tải xuống
0lượt xem

Depth Pro 2: Sharp and Temporally Consistent Metric Monocular Depth

GitHub Technical Report Project Page All Sizes

Model size B · 97M parameters

B200VGA720p1080p4K
Throughput (fps)269.782.523.61.8
Peak memory (GiB)2.66.614.064.8
Benchmark details
  • GPU: NVIDIA B200, in bfloat16 and PyTorch eager mode (no compilation)
  • Input: a 32-frame video clip, processed in one call at its native resolution
  • Resolutions: VGA is 640 × 480; 720p, 1080p and 4K are 16:9
  • Throughput: frames per second, averaged over the clip
  • Memory: the peak GPU memory PyTorch reserves
  • Included: the focal length estimator, a separate 23.5M-parameter model that loads with the depth model

How to use

pip install "git+https://github.com/apple-aiml-research/ml-depth-pro-2"
from functools import partial

import torch
from huggingface_hub import hf_hub_download
from safetensors.torch import load_file
from depth_pro_2 import DepthPro2, load_rgb
from depth_pro_2.model import to_normalized_tensor
from depth_pro_2.network.fov import FOVEstimator

model = DepthPro2.from_pretrained("apple/DepthPro2-B", precision=torch.bfloat16)
# The focal length estimator all sizes share, for photos and videos without a focal length.
weights = hf_hub_download("apple/DepthPro2-focal", "model.safetensors")
model.fov = FOVEstimator(torch.bfloat16)
model.fov.load_state_dict(load_file(weights))
model = model.to("cuda").eval()
transform = partial(to_normalized_tensor, device=torch.device("cuda"))

image, f_px = load_rgb("photo.jpg")  # f_px: EXIF focal length, or None
depth = model.infer(transform(image), f_px=f_px)["depth"]  # meters, (H, W)

Videos, the other sizes and the command line are on the Depth Pro 2 page.

License

The weights are released under the Apple Machine Learning Research Model license, for research use only: non-commercial scientific research and academic development.

Citation

@article{DepthPro2:2026:arxiv,
  title   = {Depth Pro 2: Sharp and Temporally Consistent Metric Monocular Depth},
  author  = {Peiyun Hu and Marko Mihajlovic and Lyndon Duong and Lahav Lipson and Wei Dong and Ama\"{e}l Delaunoy and Stephan R. Richter and Vladlen Koltun},
  journal = {arXiv preprint arXiv:2611.26603},
  year    = {2026},
  url     = {https://arxiv.org/abs/2611.26603},
}

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

Modeldepth-estimation
apple/DepthPro2

Depth Pro 2: Sharp and Temporally Consistent Metric Monocular Depth 🚀 Try the Interactive Demo → -- Depth Pro 2 estimates metric depth for every pixel from an ordinary camera: a single photo, a whole video, or a live feed, at the input's full resolu...

♥0
0
Nov 20, 2026
Modeldepth-estimation
depth-anything/DA3NESTED-GIANT-LARGE

Depth Anything 3: DA3NESTED-GIANT-LARGE !Project Page(https://img.shields.io/badge/ProjectPage-DepthAnything3-green)(https://depth-anything-3.github.io) !Paper(https://img.shields.io/badge/arXiv-DepthAnything3-red)(https://arxiv.org/abs/) !Demo(http...

♥0
173.3k
Nov 13, 2025
Modeldepth-estimation
depth-anything/DA3METRIC-LARGE

Depth Anything 3: DA3METRIC-LARGE !Project Page(https://img.shields.io/badge/ProjectPage-DepthAnything3-green)(https://depth-anything-3.github.io) !Paper(https://img.shields.io/badge/arXiv-DepthAnything3-red)(https://arxiv.org/abs/) !Demo(https://im...

♥0
294.6k
Nov 13, 2025
Modeldepth-estimation
depth-anything/DA3-LARGE

Depth Anything 3: DA3-LARGE !Project Page(https://img.shields.io/badge/ProjectPage-DepthAnything3-green)(https://depth-anything-3.github.io) !Paper(https://img.shields.io/badge/arXiv-DepthAnything3-red)(https://arxiv.org/abs/) !Demo(https://img.shie...

♥0
358.6k
Nov 19, 2025
Modeldepth-estimation
apple/DepthPro2-H

Depth Pro 2: Sharp and Temporally Consistent Metric Monocular Depth Model size H+ · 872M parameters 🚀 Try the Interactive Demo → -- | B200 | VGA | 720p | 1080p | 4K | |:---|:---:|:---:|:---:|:---:| | Throughput (fps) | 95.9 | 20.2 | 5.3 | 0.4 | | Pe...

♥0
1.2k
Nov 20, 2026
Modeldepth-estimation
apple/DepthPro2-S

Depth Pro 2: Sharp and Temporally Consistent Metric Monocular Depth Model size S · 24M parameters 🚀 Try the Interactive Demo → -- | B200 | VGA | 720p | 1080p | 4K | |:---|:---:|:---:|:---:|:---:| | Throughput (fps) | 347.0 | 143.9 | 44.8 | 3.6 | | P...

♥0
1.9k
Nov 20, 2026
Modeldepth-estimation
apple/DepthPro2-L

Depth Pro 2: Sharp and Temporally Consistent Metric Monocular Depth Model size L · 334M parameters 🚀 Try the Interactive Demo → -- | B200 | VGA | 720p | 1080p | 4K | |:---|:---:|:---:|:---:|:---:| | Throughput (fps) | 150.1 | 33.7 | 9.1 | 0.7 | | Pe...

♥0
1.0k
Nov 20, 2026
RepositoryPython
apple-aiml-research/ml-depth-pro-2

Depth Pro 2: Sharp and Temporally Consistent Metric Monocular Depth

588
Nov 20, 2026
Modeldepth-estimation
apple/DepthPro

Depth Pro: Sharp Monocular Metric Depth in Less Than a Second !Depth Pro Demo Image(https://github.com/apple/ml-depth-pro/raw/main/data/depth-pro-teaser.jpg) We present a foundation model for zero-shot metric monocular depth estimation. Our model, D...

♥0
6.2k
Feb 28, 2025