Xuban's picture
Add LibreVideoDepthAnythings-depth
77ecf3e verified
|
Raw History Blame Contribute Delete
1.75 kB
---
license: apache-2.0
library_name: libreyolo
pipeline_tag: depth-estimation
tags:
- depth-estimation
- video-depth
- video-depth-anything
---
# LibreVideoDepthAnythings-depth
Video Depth Anything Small (ViT-S DINOv2 encoder + temporal DPT head, 28.4M params), repackaged for LibreYOLO's `depth` task. Relative inverse depth (higher = closer), temporally consistent across the frames of a video.
## Source
Converted from [depth-anything/Video-Depth-Anything-Small](https://huggingface.co/depth-anything/Video-Depth-Anything-Small)
at revision `256875362cff76724b920335dfb4b29dd611f66e` (`video_depth_anything_vits.pth`).
Code: [DepthAnything/Video-Depth-Anything](https://github.com/DepthAnything/Video-Depth-Anything)
at commit `4f5ae23172ba60fd7bc11ef671cca678842c7072` (Apache-2.0).
Copyright (2025) Bytedance Ltd. and/or its affiliates.
The weights are licensed under the Apache License, Version 2.0.
Chen, S., Guo, H., Zhu, S., Zhang, F., Huang, Z., Feng, J., and Kang, B.
"Video Depth Anything: Consistent Depth Estimation for Super-Long Videos." CVPR 2025.
## Modifications
None to the learned parameters: the upstream state dict is wrapped in LibreYOLO
checkpoint metadata with unchanged keys and tensors. See
`weights/convert_video_depth_anything_weights.py` in the
[LibreYOLO source repository](https://github.com/LibreYOLO/libreyolo).
## Usage
```python
from libreyolo import LibreYOLO
model = LibreYOLO("LibreVideoDepthAnythings-depth.pt")
results = model.predict("video.mp4") # one Results per frame, one shared relative scale
depth = results[0].depth_map # DepthMap (H, W), higher = closer
```
## License
Apache License 2.0.
See the [`LICENSE`](./LICENSE) and [`NOTICE`](./NOTICE) files in this repository.