Transformers How to use hf-internal-testing/tiny-random-DPTForDepthEstimation with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("depth-estimation", model="hf-internal-testing/tiny-random-DPTForDepthEstimation") # Load model directly
from transformers import AutoImageProcessor, AutoModelForDepthEstimation
processor = AutoImageProcessor.from_pretrained("hf-internal-testing/tiny-random-DPTForDepthEstimation")
model = AutoModelForDepthEstimation.from_pretrained("hf-internal-testing/tiny-random-DPTForDepthEstimation")