Skip to content

Code of NeurIPS19 Paper "PointDAN: A Multi-Scale 3D Domain Adaption Network for Point Cloud Representation".

Notifications You must be signed in to change notification settings

canqin001/PointDAN

Repository files navigation

3D Transfer Learning - PointDAN

This repo contains the source code and dataset for our NeurIPS 2019 paper:

PointDAN: A Multi-Scale 3D Domain Adaption Network for Point Cloud Representation
2019 Conference on Neural Information Processing Systems (NeurIPS 2019)
paper, arXiv, bibtex

PointDAN

Introduction

Domain Adaptation (DA) approaches achieved significant improvements in a wide range of machine learning and computer vision tasks (i.e., classification, detection, and segmentation). However, as far as we are aware, there are few methods yet to achieve domain adaptation directly on 3D point cloud data. The unique challenge of point cloud data lies in its abundant spatial geometric information, and the semantics of the whole object is contributed by including regional geometric structures. Specifically, most general-purpose DA methods that struggle for global feature alignment and ignore local geometric information are not suitable for 3D domain alignment. In this paper, we propose a novel 3D Domain Adaptation Network for point cloud data (PointDAN). PointDAN jointly aligns the global and local features in multi-level. For local alignment, we propose Self-Adaptive (SA) node module with an adjusted receptive field to model the discriminative local structures for aligning domains. To represent hierarchically scaled features, node-attention module is further introduced to weight the relationship of SA nodes across objects and domains. For global alignment, an adversarial-training strategy is employed to learn and align global features across domains. Since there is no common evaluation benchmark for 3D point cloud DA scenario, we build a general benchmark (i.e., PointDA-10) extracted from three popular 3D object/scene datasets (i.e., ModelNet, ShapeNet and ScanNet) for cross-domain 3D objects classification fashion. Extensive experiments on PointDA-10 illustrate the superiority of our model over the state-of-the-art general-purpose DA methods.

Dataset

PointDA-10 The PointDA-10 dataset is extracted from three popular 3D object/scene datasets (i.e., ModelNet, ShapeNet and ScanNet) for cross-domain 3D objects classification.

The new version of PointDA dataset will come soon!

Requirements

  • Python 3.6
  • PyTorch 1.0

File Structure

.
├── README.md
├── logs                            
├── dataset
│   └──PointDA_data                              
│      ├── modelnet                      
│      ├── scannet
│      └── shapenet             
├── dataloader.py
├── data_utils.py
├── main.sh
├── mmd.py
├── Model.py
├── model_utils.py
├── train.py            
└── train_source.py                                   

Data Download

Download the PointDA-10 and extract it as the dataset fold.

Train & Test

If you run the experiment on one adaptation scanerio, like scannet to modelnet,

python train.py -source scannet -target modelnet

, or run experiments on all adaptation scenarios.

bash main.sh

Citation

If you find this project useful for your research, please kindly cite our paper:

@incollection{NIPS2019_8940,
title = {PointDAN: A Multi-Scale 3D Domain Adaption Network for Point Cloud Representation},
author = {Qin, Can and You, Haoxuan and Wang, Lichen and Kuo, C.-C. Jay and Fu, Yun},
booktitle = {Advances in Neural Information Processing Systems 32},
editor = {H. Wallach and H. Larochelle and A. Beygelzimer and F. d\textquotesingle Alch\'{e}-Buc and E. Fox and R. Garnett},
pages = {7190--7201},
year = {2019},
publisher = {Curran Associates, Inc.},
url = {http://papers.nips.cc/paper/8940-pointdan-a-multi-scale-3d-domain-adaption-network-for-point-cloud-representation.pdf}
}

Contact

If you have any questions, please contact Can Qin or Haoxuan You.

Acknowledgement

Our implementation of PointNet model refers to https://github.com/fxia22/pointnet.pytorch

About

Code of NeurIPS19 Paper "PointDAN: A Multi-Scale 3D Domain Adaption Network for Point Cloud Representation".

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published