Depth Estimation
Transformers
Safetensors
video_depth_anything
feature-extraction
video-depth-anything
video
custom_code
Instructions to use bigshanedogg/Metric-Video-Depth-Anything-Base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use bigshanedogg/Metric-Video-Depth-Anything-Base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("depth-estimation", model="bigshanedogg/Metric-Video-Depth-Anything-Base", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("bigshanedogg/Metric-Video-Depth-Anything-Base", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from bigshanedogg/Metric-Video-Depth-Anything-Base: direct link, hf CLI and curl.
- Browser
- Download file 680 Bytes
-
https://huggingface.co/bigshanedogg/Metric-Video-Depth-Anything-Base/resolve/main/config.json
- Command line
-
hf download hf://bigshanedogg/Metric-Video-Depth-Anything-Base/config.json
-
curl -L -o config.json https://huggingface.co/bigshanedogg/Metric-Video-Depth-Anything-Base/resolve/main/config.json
680 Bytes
| { | |
| "architectures": [ | |
| "VideoDepthAnythingForDepthEstimation" | |
| ], | |
| "auto_map": { | |
| "AutoConfig": "configuration_video_depth_anything.VideoDepthAnythingConfig", | |
| "AutoModel": "modeling_video_depth_anything.VideoDepthAnythingForDepthEstimation", | |
| "AutoModelForDepthEstimation": "modeling_video_depth_anything.VideoDepthAnythingForDepthEstimation" | |
| }, | |
| "dtype": "float32", | |
| "encoder": "vitb", | |
| "features": 128, | |
| "input_size": 518, | |
| "metric": true, | |
| "model_type": "video_depth_anything", | |
| "num_frames": 32, | |
| "out_channels": [ | |
| 96, | |
| 192, | |
| 384, | |
| 768 | |
| ], | |
| "pe": "ape", | |
| "transformers_version": "5.20.2", | |
| "use_bn": false, | |
| "use_clstoken": false | |
| } | |