Downloads · 30 days
8
19% of all-time downloads
zeromodels/tipsv2-b14-dpt
tipsv2-b14-dpt is a depth estimation model from zeromodels. Use it for the depth estimation task on the model card, and read the license before you ship it in a product. It is set up for zeromodels. The card lists the license as apache-2.0.
[](https://github.com/IMvision12/ZeroModels) [](https://huggingface.co/collections/zeromodels/tipsv2-dpt-6a8eadf14767dbd9c35086c1)
Downloads · 30 days
8
19% of all-time downloads
All-time downloads
43
Public
Repo size
537 MB
Likes
0
Public
Click a slice to open those files.
.h5537 MB · 100%
From the Hugging Face model README
Paper: TIPSv2 (arXiv:2604.12012)
TIPSv2-DPT stacks DPT (Dense Prediction Transformer) heads on the TIPSv2 vision backbone. This single checkpoint serves three task classes: monocular depth estimation and semantic segmentation, or both at once.
For more details on the model, please go to the upstream model card.
Pure-Keras 3 conversion of google/tipsv2-b14-dpt for zeromodels. One implementation runs unmodified on TensorFlow / Torch / JAX.
import os
os.environ["KERAS_BACKEND"] = "torch" # or "jax" / "tensorflow"
from PIL import Image
import numpy as np
import keras
from zeromodels.models.tipsv2_dpt import (
Tipsv2DptDensePredict, # depth + segmentation
Tipsv2DptDepthEstimation, # depth only
Tipsv2DptSemanticSegment, # segmentation only
Tipsv2DptImageProcessor,
)
# all three load from the SAME repo
model = Tipsv2DptDensePredict.from_weights("zeromodels/tipsv2-b14-dpt")
proc = Tipsv2DptImageProcessor(image_resolution=448)
image = Image.open("your_image.jpg").convert("RGB")
pixel_values = proc(np.array(image))["pixel_values"]
out = model(pixel_values)
depth = keras.ops.convert_to_numpy(out["predicted_depth"]) # (1, H', W')
seg = keras.ops.convert_to_numpy(out["segmentation_logits"]) # (1, H', W', num_labels)
# single-task variants (same weights, one output each)
depth_model = Tipsv2DptDepthEstimation.from_weights("zeromodels/tipsv2-b14-dpt")
seg_model = Tipsv2DptSemanticSegment.from_weights("zeromodels/tipsv2-b14-dpt")
Variants:
| Variant | Hub |
|---|---|
tipsv2-b14-dpt | zeromodels/tipsv2-b14-dpt |
tipsv2-l14-dpt | zeromodels/tipsv2-l14-dpt |
tipsv2-so400m14-dpt | zeromodels/tipsv2-so400m14-dpt |
tipsv2-g14-dpt | zeromodels/tipsv2-g14-dpt |
KERAS_BACKEND before importing Keras / zeromodels.[0, 1] (no mean/std normalization); input resolution is 448.Tipsv2DptDensePredict.from_weights("hf:google/tipsv2-b14-dpt").A huge thank you to the TIPSv2 authors (Google DeepMind) and the HF community.
License: Apache-2.0 (matches the upstream google/tipsv2-b14-dpt checkpoint).