Giter VIP home page Giter VIP logo

dblidarnet's Introduction

DeepTemporalSeg

This repository contains code to learn a model for semantic segmentation of 3D LiDAR scans

1. License

This software is released under GPLv3. If you use it in academic work, please cite:

@article{dewan-deeptemporalseg,
  author = {Ayush Dewan and Wolfram Burgard},
  title = {DeepTemporalSeg: Temporally Consistent Semantic Segmentation of 3D LiDAR Scans},
  booktitle = {https://arxiv.org/abs/1906.06962},
  year = {2019},
  url = {http://deep-temporal-seg.informatik.uni-freiburg.de/dewan_deep_temporal_seg.pdf}
}

2. Training the Network

2.1. Prerequisites

  • Tensorflow
  • Pyhton 3.6

2.2. Dataset

./download_dataset.sh

This will download the following datasets:

  • tfrecord files for the dataset from https://github.com/BichenWuUCB/SqueezeSeg
  • tfrecords files for our dataset generated from the KITTI tracking benchmark. The details regarding the dataset are described in the paper.

2.3. Training the model

All the files required for training and testing the model is in python_scripts folder. To train the model following script has to be executed.

train_seg.py 

Parameters
--model_name (default: lidar_segmentation)
--train_record_filename
--validation_record_filename
--log_dir
--path_to_store_models (default: learned_models/)
--learning_rate (default: 0.0001)
--eta (default: 0.0005)
--total_epochs (default: 200)
--batch_size (default: 2)
--image_height (default: 64)
--image_width (default: 324)
--num_channels (default: 5)
--num_classes (default: 4)
--growth (default: 16)
--gpu (default: 0)

2.3.1. Example commands for starting the training

python train_seg.py --model_name lidar_segmentation --train_record_filename ../datasets/squeeze_seg_train/ --validation_record_filename ../datasets/squeeze_seg_validation/ --image_width 512 --batch_size 2

2.4. Testing the model

./download_models.sh

This will download the models trained on the dataset from https://github.com/BichenWuUCB/SqueezeSeg and KITTI tracking benchmark

test.py 

Parameters

--model_name 
--validation_record_filename
--is_visualize (default: no)
--image_width (default: 512)
--gpu (default: 0)

2.4.1. Example command for testing a trained model

python test.py --model_name ../models/squeeze_seg --validation_record_filename ../datasets/squeeze_seg_validation/squeeze_seg_validation.records --is_visualize yes

dblidarnet's People

Watchers

 avatar

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.