Instructions to use Intel/dpt-hybrid-midas with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Intel/dpt-hybrid-midas with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("depth-estimation", model="Intel/dpt-hybrid-midas")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForDepthEstimation processor = AutoImageProcessor.from_pretrained("Intel/dpt-hybrid-midas") model = AutoModelForDepthEstimation.from_pretrained("Intel/dpt-hybrid-midas", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
d52ef03 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:7da362691113a93c3e9ed1e7cc358cfbb890531b10f36fadc695a9949835bc41
size 489651461
|