<!-- # hard line break macro for HTML -->

<a id="model-zoo-depth-anything-v2-large-torch"></a>

# depth-anything-v2-large-torch

High-accuracy Depth Anything V2 model for detailed monocular depth estimation.

**Details**

- Model name: `depth-anything-v2-large-torch`
- Model source: [https://huggingface.co/depth-anything/Depth-Anything-V2-Large-hf](https://huggingface.co/depth-anything/Depth-Anything-V2-Large-hf)
- Model author: Lihe Yang, et al.
- Model license: Apache 2.0
- Model size: 1.25 GB
- Exposes embeddings? no
- Tags: `depth, 3d, torch, transformers`

**Requirements**

- Packages: `torch, torchvision, transformers`
- CPU support
  - yes
- GPU support
  - yes

**Example usage**

```python
import fiftyone as fo
import fiftyone.zoo as foz

dataset = foz.load_zoo_dataset(
    "coco-2017",
    split="validation",
    dataset_name=fo.get_default_dataset_name(),
    max_samples=50,
    shuffle=True,
)

model = foz.load_zoo_model("depth-anything-v2-large-torch")

dataset.apply_model(model, label_field="predictions")

session = fo.launch_app(dataset)
```
