Instructions to use halimb/depth-anything-small-hf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use halimb/depth-anything-small-hf with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("depth-estimation", model="halimb/depth-anything-small-hf")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForDepthEstimation processor = AutoImageProcessor.from_pretrained("halimb/depth-anything-small-hf") model = AutoModelForDepthEstimation.from_pretrained("halimb/depth-anything-small-hf", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update handler.py
Verified signatureead4cda -
Update handler.py
Verified signature9b01bc0 -
Update handler.py
Verified signature884f0af
-
Create requirements.txt
Verified signatureb568011 -
Create handler.py
Verified signature41f99fa -
Duplicate from LiheYoung/depth-anything-small-hf
Verified signatureCo-authored-by: Niels Rogge <nielsr@users.noreply.huggingface.co>fc4e228