Depth Estimation
Transformers
Safetensors
tipsv2_dpt
feature-extraction
vision
surface-normals
semantic-segmentation
dense-prediction
custom_code
Run this model with HF Jobs
Run google/tipsv2-b14-dpt on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/google/tipsv2-b14-dpt. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/google/tipsv2-b14-dpt on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use google/tipsv2-b14-dpt with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
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)# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModel processor = AutoImageProcessor.from_pretrained("google/tipsv2-b14-dpt", trust_remote_code=True) model = AutoModel.from_pretrained("google/tipsv2-b14-dpt", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Remove image_encoder.py and update configuration_dpt.py
Browse filesRemoves the unused image_encoder.py file and uploads configuration_dpt.py.
25 unmodified lines2627282930313225 unmodified linesnum_depth_bins=256,min_depth=1e-3,max_depth=10.0,semantic_loss_ignore_index=255,**kwargs,):super().__init__(**kwargs)25 unmodified lines26272829303125 unmodified linesnum_depth_bins=256,min_depth=1e-3,max_depth=10.0,**kwargs,):super().__init__(**kwargs)
configuration_dpt.py-1