Downloads · 30 days
0
robotflowlabs/depth-anything-v2-small
depth-anything-v2-small is a depth estimation model from robotflowlabs. Use it for the depth estimation task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as apache-2.0.
Depth Anything V2 (Small, ViT-S backbone) converted to SafeTensors for real-time robotic depth estimation. At just 95 MB, this is the lightest production-quality monocular depth model available — perfect for edge devi…
Downloads · 30 days
0
Access
Public
Updated Mar 19, 2026
Parameters
24.8M
99.2 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors99.2 MB · 100%
From the Hugging Face model README
Depth Anything V2 (Small, ViT-S backbone) converted to SafeTensors for real-time robotic depth estimation. At just 95 MB, this is the lightest production-quality monocular depth model available — perfect for edge devices like Jetson Nano.
This model is part of the RobotFlowLabs model library, built for the ANIMA agentic robotics platform.
Depth estimation needs to run alongside segmentation, features, and action models — all on the same edge GPU. At 95 MB, Depth Anything V2 Small is tiny enough to fit in any perception stack while still producing high-quality relative depth maps. Converted from raw .pth to SafeTensors for safe, zero-copy loading.
| Property | Value |
|---|---|
| Architecture | DPT head + ViT-Small encoder |
| Parameters | 24.8M |
| Encoder | ViT-S/14 (DINOv2-based) |
| Input Resolution | Flexible (recommended 518×518) |
| Output | Dense relative depth map |
| Original Model | depth-anything/Depth-Anything-V2-Small |
| License | Apache-2.0 |
from safetensors.torch import load_file
state_dict = load_file("model.safetensors")
from depth_anything_v2.dpt import DepthAnythingV2
model = DepthAnythingV2(encoder='vits', features=64, out_channels=[48, 96, 192, 384])
model.load_state_dict(state_dict)
model.to("cuda").eval()
depth = model.infer_image(image)
| Model | Params | Size | Best For |
|---|---|---|---|
| depth-anything-v2-large | 335M | 1.3 GB | Highest quality depth |
| depth-anything-v2-small | 24.8M | 95 MB | Real-time edge deployment |
depth-anything/Depth-Anything-V2-Small by TUM & HKU@article{yang2024depth_anything_v2,
title={Depth Anything V2},
author={Yang, Lihe and Kang, Bingyi and Huang, Zilong and Zhao, Zhen and Xu, Xiaogang and Feng, Jiashi and Zhao, Hengshuang},
journal={arXiv preprint arXiv:2406.09414},
year={2024}
}