Skip to content

Latest commit

 

History

History

README.md

PASMnet: Parallax-Attention Stereo Matching Network

Pytorch implementation of "Parallax Attention for Unsupervised Stereo Correspondence Learning", TPAMI 2020

[arXiv]

Overview

Requirements

  • Python 3.6
  • PyTorch >= 1.1.0
  • prefetch_generator

Train

1. Prepare training data

Download SceneFlow and KITTI 2015 datasets.

2. Train on SceneFlow

Run ./train.sh to train on the SceneFlow dataset. Please update datapath in the bash file as your training data path.

3. Finetune on KITTI 2015

Run ./finetune.sh to finetune on the KITTI 2015 dataset. Please update datapath in the bash file as your training data path.

Test

1. Download pre-trained models

Download pre-trained models to ./log.

2. Test on SceneFlow

Run ./test.sh to evaluate on the test set of the SceneFlow dataset. Please update datapath in the bash file as your test data path.

3. Test on KITTI 2015

Run ./submission.sh to save png predictions on the test set of the KITTI 2015 dataset to the folder ./results. Please update datapath in the bash file as your test data path.

Results

Citation

@Article{Wang2020Parallax,
  author    = {Longguang Wang and Yulan Guo and Yingqian Wang and Zhengfa Liang and Zaiping Lin and Jungang Yang and Wei An},
  title     = {Parallax Attention for Unsupervised Stereo Correspondence Learning},
  journal   = {{IEEE} Trans. Pattern Anal. Mach. Intell.},
  year      = {2020},
}

Acknowledgement

This code is built on GwcNet. We thank the authors for sharing their codes.