Skip to content

houseleo/Dynamic-Filter-CNN

Repository files navigation

Dynamic-Filter-CNN for 3D Object Classification in Point Clouds

Overview

We propose a new neural network architecture for classification of objects in 3D point cloud data. We applied convolution layers which dynamically generates convolution kernel based on the edge features it learned from the point clouds. For its dynamic generation of conv. kernels, the model is named Dynamic Filter CNN.

Model Architecture

Authors

This repository is the work of Guanghua Pan and Prince Wang. It is a research project under the Brain-Inspired Application Technology Center(BATC) at Shanghai Jiaotong University.

Further information about BATC, please visit: http://bat.sjtu.edu.cn/

Further information about the model please contact Prince Wang and Guanghua

Implementation

The model is implemented in TensorFlow.

Installation

Install TensorFlow. You may also need to install h5py.

To install h5py for Python:

sudo apt-get install libhdf5-dev
sudo pip install h5py

Usage

To train a model to classify point clouds sampled from 3D shapes:

python train.py

Log files and network parameters will be saved to log folder in default. Point clouds of ModelNet40 models in HDF5 files are already included in this repository. Each point cloud contains 1024 points uniformly sampled from a shape surface. Each cloud is zero-mean and normalized into an unit sphere.

To see HELP for the training script:

python train.py -h

To use TensorBoard to view the network architecture and visualize the training progress.

tensorboard --logdir log

After the above training, to evaluate the model:

python evaluate.py

Acknowledgement

Our work borrows from many other papers in the field of 3D Point Cloud Deep Learning. The works we referred to are as follows:

  • Li, Yangyan, et al. "PointCNN: Convolution on X-transformed points." Advances in Neural Information Processing Systems. 2018.

  • Qi, Charles R., et al. "Pointnet: Deep learning on point sets for 3d classification and segmentation." Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. 2017.

  • Qi, Charles Ruizhongtai, et al. "Pointnet++: Deep hierarchical feature learning on point sets in a metric space." Advances in Neural Information Processing Systems. 2017.

  • Wang, Yue, et al. "Dynamic graph cnn for learning on point clouds." arXiv preprint arXiv:1801.07829 (2018).

  • Simonovsky, Martin, and Nikos Komodakis. "Dynamic edge-conditioned filters in convolutional neural networks on graphs." Proceedings of the IEEE conference on computer vision and pattern recognition. 2017.

About

Code under Brain-Inspired Application Technology Center at Shanghai Jiaotong University

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages