Instructions to use facebook/dpt-dinov2-base-nyu with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use facebook/dpt-dinov2-base-nyu with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("depth-estimation", model="facebook/dpt-dinov2-base-nyu")# Load model directly from transformers import AutoImageProcessor, AutoModelForDepthEstimation processor = AutoImageProcessor.from_pretrained("facebook/dpt-dinov2-base-nyu") model = AutoModelForDepthEstimation.from_pretrained("facebook/dpt-dinov2-base-nyu", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
f9d566d | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:6f09db8fd5a5368934ac7eb0ab9881b1fb059d9b85c08ce916ada16f030b22c1
size 447908401
|