Skip to content

This is just a simple implementation of "PointPillars: Fast Encoders for Object Detection from Point Clouds"

Notifications You must be signed in to change notification settings

gakkiri/simple-pointpillar

Repository files navigation

simple-pointpillar-pytorch

This is just a simple implementation of "PointPillars: Fast Encoders for Object Detection from Point Clouds".
official: nutonomy/second.pytorch
arxiv: https://arxiv.org/pdf/1812.0578
OpenPCDet: https://github.com/open-mmlab/OpenPCDet

e1

Motivation

  • Unlike the other repo, I just used pure pytorch. That is, you don't need to compile anything to run the code, I've rewritten the voxelization and 3D NMS in python and run it on the cpu. Just run it and learning.
  • The official code is so complex that it's hard to get started, so I've created this repository with just the core code. Unlike most implementation base on official or OpenPCDet, I made the code as simple as possible to understand, no trick, as close to the original performance as possible(I hope so).
  • At present, only the official weights of OpenPCDet have been implemented for inference, but the core code is basically completed and the training code will be improved continuously.

Repo Notes

  • cfgs/kitti_cfg.py contains the relevant configuration for the kitti dataset.
  • kitti_test_data/ are 10 point cloud data from kitti to run infer demo.
  • openpcdet-office-ckpt/pointpillar_7728.pth Good weights from the official openpcdet.
  • Currently there is no implementation of out camera view mask in kitti, so all points are used for inference.
  • Since it all runs on cpu, don't expect to have a speed advantage.

Todo

  • Direct inference using official weights and obtaining consistent results.
  • Training Code.
  • So on.

Requirements

Win10 or Linux.

torch
numpy
opencv-python
easydict
open3d

How To Inference

python infer.py and take a bathroom break and wait for visualization results.

Some Simple Results

e2

About

This is just a simple implementation of "PointPillars: Fast Encoders for Object Detection from Point Clouds"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages