Update example image URL to use HF-hosted ADE20K image 272325b
Gabriele commited on
How to use google/tipsv2-b14-dpt with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("depth-estimation", model="google/tipsv2-b14-dpt", trust_remote_code=True) # Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("google/tipsv2-b14-dpt", trust_remote_code=True, dtype="auto")