Pranav Durai ef86f2421f 3D LiDAR Object Detection пре 1 година
..
checkpoints 1f4bb0fa38 3D LiDAR Object Detection пре 1 година
dataset 1f4bb0fa38 3D LiDAR Object Detection пре 1 година
logs 1f4bb0fa38 3D LiDAR Object Detection пре 1 година
readme_images b2a0d416bc 3D LiDAR Object Detection пре 1 година
results 1f4bb0fa38 3D LiDAR Object Detection пре 1 година
sfa 1f4bb0fa38 3D LiDAR Object Detection пре 1 година
README.md b2a0d416bc 3D LiDAR Object Detection пре 1 година
requirements.txt 1f4bb0fa38 3D LiDAR Object Detection пре 1 година

README.md

Integrating ADAS with Keypoint Feature Pyramid Network for 3D LiDAR Object Detection

This repository contains the training scripts for Keypoint Feature Pyramid Network, specifically for 3D LiDAR Object Detection. In this case, the KITTI 360 Vision dataset has been used to train the detection model.

It is part of the LearnOpenCV blog post - Integrating ADAS with Keypoint Feature Pyramid Network for 3D LiDAR Object Detection.

Download Code

Environment Setup

Run the following commands on a new terminal window for creating a new environment with the required packages:

```shell script cd SFA3D pip install -r requirements.txt


### Dataset Visualization
To visualize 3D point clouds with 3-dimensional bounding boxes, run the following commends: 

```shell script
cd sfa/data_process
python kitti_dataset.py

Inference

There is an instance of a pre-trained model in this repository. You can use it to run inference:

```shell script python test.py --gpu_idx 0 --peak_thresh 0.2


### Video Demonstration
Similarly, inference can be run on a video stream: 

```shell script
python demo_2_sides.py --gpu_idx 0 --peak_thresh 0.2

Training Pipeline

Single Machine w/ Single GPU

```shell script python train.py --gpu_idx 0


##### Single Machine w/ Multiple GPUs

```shell script
python train.py --multiprocessing-distributed --world-size 1 --rank 0 --batch_size 64 --num_workers 8

Evaluation Metrics - TensorBoard

To track the training progress, go to logs/ folder and run:

shell script cd logs/<saved_fn>/tensorboard/ tensorboard --logdir=./

Then, just go to http://localhost:6006/

AI Courses by OpenCV

Want to become an expert in AI? AI Courses by OpenCV is a great place to start.

img