Skip to content

niritalkalay/NextStop

Repository files navigation

NextStop

Installation

System Requirements

This code has only been tested on the following combination of major pre-requisites. Please check beforehand.

  • Ubuntu 22.04
  • Python 3.8

Dependencies:

To install required dependencies on the system python, please run the following command at the root of this code:

pip install torch==1.12.1+cu113 torchvision==0.13.1+cu113 torchaudio==0.12.1 --extra-index-url https://download.pytorch.org/whl/cu113

pip3 install -r requirements.txt

Data

Download the SemanticKITTI dataset with labels from here.
Add the semantic-kitti.yaml file to the folder.

Folder structure:

SemanticKitti/  
└── semantic-kitti.yaml  
└── sequences/  
    └── 00/  
        └── calib.txt  
        └── poses.txt  
        └── times.txt  
        └── labels  
            ├── 000000.label  
            ├── 000000.center.npy  
            ...  
         └── velodyne  
            ├── 000000.bin  
            ...

Tracking

We provided 4D-stop sample result to this repository, so there is no need to run 4DSTOP network for our tracker. just run the two files:

  1. bounding box tracker :
tracking/box_tracker.py
  1. from bounding box to labels tracker:
tracking/box_tracker_to_labels.py

if you dont want to run this sample you can run from your own path by :

  1. bounding box tracker :
tracking/box_tracker.py --dataset [path to the SemanticKitti point cloud] --data_cfg [path to SemanticKitti config file] --predictions [path to prediction] --sequences [sequence number] --split [valid or not]
  1. from bounding box to labels tracker:
tracking/box_tracker_to_labels.py --dataset [path to the SemanticKitti point cloud] --data_cfg [path to SemanticKitti config file] --predictions [path to prediction] --sequences [sequence number] --split [valid or not]

Evaluation

eval_lstq

utils/evaluate_4dpanoptic.py --dataset [path to the SemanticKitti point cloud] --predictions [path to NextStop prediction folder]] --data_cfg [path to SemanticKitti config file] --split [valid or not]  --min_inst_points [50 or 1]

Acknowledgments

The code is based on 4D-StOP, semantic-kitti-api and AB3DMOT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published