How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("depth-estimation", model="keetrap/Distill-Any-Depth-Small-hf")
# Load model directly
from transformers import AutoImageProcessor, AutoModelForDepthEstimation

processor = AutoImageProcessor.from_pretrained("keetrap/Distill-Any-Depth-Small-hf")
model = AutoModelForDepthEstimation.from_pretrained("keetrap/Distill-Any-Depth-Small-hf")
Quick Links

The original model belongs to: https://huggingface.co/xingyang1/Distill-Any-Depth. This will be deleted after the PR merge: https://github.com/huggingface/transformers/pull/36614

Downloads last month
7
Safetensors
Model size
24.8M params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support