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
Commit History
-
Update README.md
Verified signature11eaf7a
-
Update README.md
Verified signaturef780875
-
Update README.md
530c450
-
Update README.md
fc1dad9
-
Update config.json (#3)
- Update config.json (47121709b4e0cc5d458f36045ae9c2bd75db6f65) Co-authored-by: Younes Belkada <ybelkada@users.noreply.huggingface.co>65776c9 -
Update README.md (#1)
- Update README.md (a05eabcb1201e0b0e8a27a19fc5c40cba20ffa0c) Co-authored-by: Younes Belkada <ybelkada@users.noreply.huggingface.co>4e7800c -
Upload processor
3c2f350 -
Upload DPTForDepthEstimation
aa5a870 -
Update README.md
402bc4a -
Upload processor
25883a7 -
Upload DPTForDepthEstimation
45026d3 -
Update README.md
475b52c -
Create README.md
0bf3738
-
Upload pytorch_model.bin
d52ef03 -
Upload 2 files
eac86af -
initial commit
Younes Belkada4bbc898