Giter Club home page Giter Club logo

spidercnn's Introduction

SpiderCNN

SpiderCNN: Deep Learning on Point Sets with Parameterized Convolutional Filters. ECCV 2018
Yifan Xu, Tianqi Fan, Mingye Xu, Long Zeng, Yu Qiao.

Introduction

This project is based on our ECCV18 paper. You can find the arXiv version here.

@article{xu2018spidercnn,
  title={SpiderCNN: Deep Learning on Point Sets with Parameterized Convolutional Filters},
  author={Xu, Yifan and Fan, Tianqi and Xu, Mingye and Zeng, Long and Qiao, Yu},
  journal={arXiv preprint arXiv:1803.11527},
  year={2018}
}

SpiderCNN is a convolutional neural network that can process signals on point clouds.

Installation

The code is based on PointNet๏ผŒ and PointNet++. Please install TensorFlow, and follow the instruction in PointNet++ to compile the customized TF operators.
The code has been tested with Python 2.7, TensorFlow 1.3.0, CUDA 8.0 and cuDNN 6.0 on Ubuntu 14.04.

QUICKSTART

  1. Install Docker using these commands:
sudo apt update
sudo apt install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable"
sudo apt update
apt-cache policy docker-ce
sudo apt install docker-ce
sudo systemctl status docker
  1. Copy raw This script to .txt file and save it as "Dockerfile".
  2. Run Dockerbuild using these commands:
sudo docker build -t installation .
sudo docker run -w /SpiderCNN -it installation:latest
  1. After running commands above, do unzip in the container:
unzip -q modelnet40_ply_hdf5_2048.zip -d data
unzip -q shapenetcore_partanno_segmentation_benchmark_v0_normal.zip -d data
  1. Run this command:
python train.py
  1. There were written several test scripts. They are located in part_seg directory and in utils directory. To run then use the following commands:
python -m unittest test

Usage

Classification

Preprocessed ModelNet40 dataset can be downloaded here.
To train a SpiderCNN model (with input XYZ coordinates and normal vectors) to classify shapes in ModelNet40:

python train.py

To train a SpiderCNN model (with input XYZ coordinates) with multi GPU to classify shapes in ModelNet40:

python train_xyz.py

Part Segmentation

Preprocessed ShapeNetPart dataset can be downloaded here. To train a model to segment object parts for ShapeNet models (with input XYZ coordinates and normal vectors):

cd part_seg
python train.py

License

This repository is released under MIT License (see LICENSE file for details).

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.