UniT: Unified Geometry Learning with Group Causal Transformer
Haotian Wang · Yusong Huang · Zhaonian Kuang · Hongliang Lu Xinhu Zheng · Meng Yang · Gang Hua
UniT is a feed-forward model for unified geometry learning.
- Any view configuration: online, multi-view streaming, and offline inference from one or more views.
- Flexible modality combinations: RGB images with optional depth maps and camera parameters.
- Metric-scale perception: 3D geometry predicted in meters.
- Long-horizon scalability: long-sequence inference with bounded memory cost.
Usage
Install UniT using the repository instructions, then run:
from unit import UniT
model = UniT.from_pretrained("Haotian-sx/UniT")
inputs = {"images": "/path/to/images"}
predictions = model.predict(inputs)
print(predictions["world_points"].shape)
For a local checkpoint, use:
model = UniT.from_checkpoint("checkpoints/checkpoint.pt")
License
The model weights are licensed under CC BY-NC 4.0.