Depth Estimation
Transformers
Safetensors
tipsv2_dpt
feature-extraction
vision
surface-normals
semantic-segmentation
dense-prediction
custom_code
Instructions to use google/tipsv2-l14-dpt with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/tipsv2-l14-dpt with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("depth-estimation", model="google/tipsv2-l14-dpt", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModel processor = AutoImageProcessor.from_pretrained("google/tipsv2-l14-dpt", trust_remote_code=True) model = AutoModel.from_pretrained("google/tipsv2-l14-dpt", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Gabriele commited on
Commit ·
64789f3
1
Parent(s): 1241b68
Update README
Browse files11 unmodified lines1213141516171828 unmodified lines47484950515211 unmodified lines# TIPSv2 — L/14 DPT HeadsDPT (Dense Prediction Transformer) heads for depth estimation, surface normal prediction, and semantic segmentation (ADE20K, 150 classes) on top of the [TIPSv2 L/14](https://huggingface.co/google/tipsv2-l14) backbone. The backbone is loaded automatically.## Usage28 unmodified lines- **Backbone**: [TIPSv2 L/14](google/tipsv2-l14) (loaded automatically)- **Heads**: ~102M total params (depth + normals + segmentation)- **Segmentation**: ADE20K, 150 classes- **Input**: images in `[0, 1]` range, any resolution (multiples of 14 recommended)11 unmodified lines1213141516171828 unmodified lines4748495051525311 unmodified lines# TIPSv2 — L/14 DPT HeadsDPT (Dense Prediction Transformer) heads for depth estimation, surface normal prediction, and semantic segmentation on top of the frozen [TIPSv2 L/14](https://huggingface.co/google/tipsv2-l14) backbone. The backbone is loaded automatically. The depth and normals heads are trained on the NYU Depth V2 dataset and segmentation is trained on the ADE20K dataset (150 classes).## Usage28 unmodified lines- **Backbone**: [TIPSv2 L/14](google/tipsv2-l14) (loaded automatically)- **Heads**: ~102M total params (depth + normals + segmentation)- **Depth & normals**: NYU Depth V2- **Segmentation**: ADE20K, 150 classes- **Input**: images in `[0, 1]` range, any resolution (multiples of 14 recommended)
README.md+2-1