Giter VIP home page Giter VIP logo

same3d's Introduction

Separated, Cross-Fused and Extensible G&L Fusion Network for LiDAR Semantic Segmentation

State Key Lab of Rail Traffic Control & Safety (BJTU)

This repo contains the source code and dataset for our paper:
Separated, Cross-Fused and Extensible G&L Fusion Network for LiDAR Semantic Segmentation
paper video SAMe3d

Step1.Environment Installation

Our paltform configuration: ubuntu18.04, Nvidia RTX 3090, cudatoolkit11.3, python3.7(in anaconda environment). Note: we didn't testing in other configuration.

Requirements

Ensure that the installation of the GPU driver(support cuda>=11.3, cudnn) is completed before the belows.

  • Create a virtual environment and activate it.
conda create -n SAMe3d python=3.7
conda activate SAMe3d
  • Install cudatoolkit(e.g. v11.3) and PyTorch in SAMe3d env.
conda install cuda -c nvidia/label/cuda-11.3.0 -c nvidia/label/cuda-11.3.1 -y
conda install pytorch torchvision torchaudio cudatoolkit=11.3 -c pytorch
cuda_test
pytorch
  • numba, torchpack
conda install numba
pip install torchpack
  • open3d
pip install open3d
spconv
pip install spconv-cu113
conda install pytorch-scatter -c pyg
  • strictyaml
 pip install strictyaml
 pip install --no-dependencies nuscenes-devkit==1.1.1

Step2.Data Download and Preparation

We have organized these three datasets. To evaluate/train point cloud, you will need to download the required datasets.

./
├── 
├── ...
└── data_path/
    ├──sany
        ├── Mixing_station(MS)/ # Mixing station scene.       
        │   	└── sequences/
	│		├── 00/ # for training          
	│		│   ├── velodyne/	
	│		|   |	├── xxx.bin
	│		|   |	├── xxx.bin
	│		|   |	└── ...
	│		│   └── labels/ 
	│		|       ├── xxx.label
	│		|       ├── xxx.label
	│		|       └── ...
	│		├── 01/ # for validation
	│		└── 02/ # for testing
        └── points(PG)/ # Proving ground scene.
	   	└── sequences/
			├── 00/ # for training          
			|   └── ...
			├── 01/ # for validation
			└── 02/ # for testing
./
├── 
├── ...
└── data_path/
    ├──nuscenes
        ├── lidarseg/   
        ├── maps/
	├── samples/
        │   └── LIDAR_TOP/	
        |    	├── n008-2018-05-21-11-06-59-0400_LIDAR_TOP_1526915243547836.pcd.bin
        |    	└── ...
	├── v1.0-trainval/
	├── nuscenes_infos_train.pkl/
	├── nuscenes_infos_val.pkl/
        └── nuscenes_infos_test.pkl/
./
├── 
├── ...
└── data_path/
    ├──sequences
        ├── 00/ # 00-07,09-10 for training          
        │   ├── velodyne/	
        |   |	├── 000000.bin
        |   |	├── 000001.bin
        |   |	└── ...
        │   └── labels/ 
        |       ├── 000000.label
        |       ├── 000001.label
        |       └── ...
        ├── 08/ # for validation
        ├── 11/ # 11-21 for testing
        │   ├── velodyne/	
        |    	├── 000000.bin
        |    	├── 000001.bin
        |    	└── ...
        └── 21/
	       └── ...

Step3.Train & Validate

Note: In you virtual env(e.g. SAMe3d) establied from above Step1 to run the belows.

Pretrained Models

-- We provide a pretrained model LINK (access code: wf40)

  • To train on Sany-Mixing Station dataset, run
 python train.py --config_path config/sany_mixing_parameters.yaml --device 0
  • To train on Sany-Proving ground dataset, run
 python train.py --config_path config/sany_points_parameters.yaml --device 0
  • To train on nuScenes dataset, run
 python train_nuscene.py --config_path config/nuScenes.yaml --device 0
  • To train on SemanticKITTI dataset, run
 python train.py --config_path config/parameters.yaml --device 0

Acknowledgments

We thanks for the opensource codebases, Cylinder3D and spconv

same3d's People

Contributors

mapping520 avatar

Stargazers

 avatar JLQ avatar Huixian Cheng avatar

Watchers

Kostas Georgiou avatar Lingdong Kong avatar JLQ avatar  avatar

same3d's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.