I’ve been exploring the use of PyTorch for 3D computer vision in autonomous vehicles, particularly LiDAR point-cloud processing and visualization through Webviz. I’m interested in how people are using PyTorch for point-cloud segmentation, object detection, sensor fusion and 3D scene understanding, and how these workflows can be integrated with tools like Webviz. I’d love to hear about projects, architectures, libraries and practical experiences from others working in this area.
A practical path I’ve seen work for this transition is to treat LiDAR as a sparse 3D tensor problem first, and only then worry about the vehicle stack.
For point-cloud segmentation and detection in PyTorch, MinkowskiEngine or SpConv (sparse convolutions) and a detector family like OpenPCDet / CenterPoint or PV-RCNN are the usual starting points. PointNet++ is still useful for learning, but production detectors almost always voxelize or use sparse convs once the cloud is large. For fusion, start simple: run the camera detector and the LiDAR detector separately, then associate boxes in 3D (or project LiDAR onto the image and fuse features later). Full end-to-end BEV fusion is a much bigger step.
On visualization, Webviz (and Foxglove, which many teams have moved toward) wants a ROS-style or MCAP stream. A useful exercise is a small PyTorch dataset that reads a KITTI or nuScenes sequence, runs a pretrained LiDAR detector, and publishes boxes plus the point cloud to Foxglove over a websocket. That teaches the data formats without needing a car.
KITTI and nuScenes are the two datasets I’d start with; they have both LiDAR and cameras, and most open detectors already have configs for them. Once you can train a detector on one of those and inspect the boxes in a 3D viewer, the rest of the AV stack is much easier to approach.
Before jumping into sparse convolutions, check that your CUDA/PyTorch build matches the MinkowskiEngine or SpConv version you install; mismatches are a common time sink. For a quick Webviz/Foxglove loop, a tiny KITTI or nuScenes loader that publishes one frame as a PointCloud2 plus 3D boxes is enough to isolate calibration and coordinate-frame bugs from model bugs. Keeping LiDAR and camera detections in a common ego frame also makes late fusion much easier to debug.