Giter Club home page Giter Club logo

grandnet's Introduction

GRanD-Net: 3D Point Cloud Semantic Segmentation for Large-Scale Scene Understanding

The official implementation of GRanD-Net

Kiran Akadas, Shankar Gangisetty

This code has been tested with Python 3.5, Tensorflow 1.11, CUDA 9.0 and cuDNN 7.4.1 on Ubuntu 16.04

s

Code (Tensorflow implementation)

Our Tensorflow code is based on RandLA-Net. For copyright license, please check code base licenses.

Citation

If you find GRandNet useful, please consider citing:

@InProceedings{Akadas_2020_ACCV,
    author    = {Akadas, Kiran and Gangisetty, Shankar},
    title     = {3D Semantic Segmentation for Large-Scale  Scene Understanding},
    booktitle = {Proceedings of the Asian Conference on Computer Vision (ACCV)},
    month     = {November},
    year      = {2020}
}
@article{KU202013,
title = "SHREC 2020: 3D point cloud semantic segmentation for street scenes",
journal = "Computers & Graphics",
volume = "93",
pages = "13 - 24",
year = "2020",
issn = "0097-8493",
doi = "https://doi.org/10.1016/j.cag.2020.09.006",
url = "http://www.sciencedirect.com/science/article/pii/S0097849320301400",
author = "Tao Ku and Remco C. Veltkamp and Bas Boom and David Duque-Arias and Santiago Velasco-Forero and Jean-Emmanuel Deschaud and Francois Goulette and Beatriz Marcotegui and Sebastián Ortega and Agustín Trujillo and José Pablo Suárez and José Miguel Santana and Cristian Ramírez and Kiran Akadas and Shankar Gangisetty",
keywords = "SHREC 2020, 3D point cloud, Semantic segmentation, Benchmark"
}

Testing

1)Setup python environment:

conda create -n grandnet python=3.5
source activate grandnet
pip install -r helper_requirements.txt
sh compile_op.sh

2)Place all the files to be tested in the "data_test" folder

3)Prepare dataset

cd utils/
python data_prepare.py  		//(Change path strings if required)
cd ..

Note: If the file contains numbers that are too large. Use the Pre_normalize.py file to normalize the numbers before running the above commands.

  1. Create "original_data" folder in the "data_test" folder and move all test files into it:
cd data_test/
mkdir original_data/
mv (all test_files) original_data
  1. Now you have 3 folders in the "data_test" folder - original_data,original_ply,input_0.06/

  2. The pre-trained model is stored in the "results" folder

  3. To get the predictions for test files: (if required change the path strings in main_Semantic3D_test2.py)

python main_test.py --mode test --gpu 0 --model_path ./results/
  1. The results/predictions are now stored in "test" folder.

  2. To calculate mIoU :

Open calculate_miou.py and change the (Log__) in the res_path string to point to Log directory in test folder which has predictions in test folder Run

python calculate_miou.py
  1. Results are displayed and stored in log_MIOU.txt

Results

Quantitative results on SHREC 2020 dataset:

s

Qualitative results on SHREC 2020:

s

Quantitative results of different approaches on S3DIS dataset:

s

grandnet's People

Contributors

kiranakadas avatar shankargsetty avatar

Stargazers

origin avatar  avatar LucyDjo avatar suyunzzz avatar  avatar

Watchers

James Cloos avatar  avatar  avatar suyunzzz avatar

grandnet'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.