Instructions to use bhavani037/depth-anything-v2-endpoint with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use bhavani037/depth-anything-v2-endpoint with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("depth-estimation", model="bhavani037/depth-anything-v2-endpoint", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("bhavani037/depth-anything-v2-endpoint", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
Upload handler.py with huggingface_hub ba5cb88 verified
Fix EndpointHandler signature (model_dir kwarg) 457b373 verified
Add custom depth-estimation handler 52ccb53
Bhavani Shankar commited on