Tpvformer

Open source

TPVFormer is a research model from Tsinghua University that predicts 3D semantic occupancy from surround-camera images using a tri-perspective view.

wzzheng.net
Tpvformer homepage screenshot
GitHub stars
1.4k
Last 30 days
+2(+0%)
Last commit
2 yr ago
Repository age
4 years
Licence
Apache-2.0
Self-hosted
Yes

About Tpvformer

TPVFormer is the code behind a CVPR 2023 paper on vision-based 3D semantic occupancy prediction for autonomous driving. Given only images from surrounding cameras, the model predicts the semantic occupancy of every volume in the 3D space around the vehicle.

The key idea is the tri-perspective view, or TPV. A bird's-eye-view map describes a scene with a single plane, so it loses fine-grained structure. TPV adds two perpendicular planes and models each 3D point by summing its projected features across the three planes.

A transformer-based encoder lifts image features into this TPV space, using attention to gather the image features for each query in each plane. Training uses only sparse LiDAR semantic labels. The code is published on GitHub under the Apache-2.0 licence, and results are reported on the nuScenes dataset.

Key features

  • Predicts 3D semantic occupancy from camera images only
  • Tri-perspective view adds two planes to bird's-eye view
  • Sums projected features from three planes per 3D point
  • Transformer encoder lifts image features into TPV space
  • Attention aggregates image features for each plane query
  • Trains with sparse LiDAR labels only

Good fit for

  • 3D semantic occupancy research
  • Camera-only driving perception
  • LiDAR segmentation benchmarks
Built with
Python tools
Tags
autonomous driving
3d occupancy
computer vision
transformer
nuscenes
research

Tpvformer: questions and answers

What is Tpvformer used for?
TPVFormer is a research model from Tsinghua University that predicts 3D semantic occupancy from surround-camera images using a tri-perspective view. It is a good fit for 3D semantic occupancy research, camera-only driving perception and LiDAR segmentation benchmarks.
Is Tpvformer open source?
Yes. Tpvformer is open source under the Apache-2.0 licence. Its source code is on GitHub at wzzheng/TPVFormer and is written mainly in Python.
Is Tpvformer free?
Yes. Tpvformer is open source, so the software itself is free to use.
Can I self-host Tpvformer?
Yes. Tpvformer can be self-hosted on your own server or infrastructure.
Is Tpvformer actively maintained?
The most recent commit to Tpvformer was on 7 September 2024. The project has 1.4k stars on GitHub, with 2 added in the last 30 days.