This repository is the official PyTorch implementation of the method present in
DPS-Net: Deep Polarimetric Stereo Depth Estimation
Chaoran Tian, Weihong Pan, Zimo Wang, Mao Mao, Guofeng Zhang, Hujun Bao, Ping Tan, Zhaopeng Cui
This repository is based on the Lipson's implementation of RAFT-Stereo. It is trained and tested in Ubuntu 20.04 + PyTorch 1.10.2 + RTX 3090.
git clone https://github.com/Ethereal-Tiansss/DPS-Net.git
cd DPS-Net
conda env create -f environment.yml
conda activate dpsnet
Please follow IPS-Generator to synthetic polarimetric stereo dataset named as IPS dataset in our paper.
The real polarimetric dataset is provide as well. The RPS dataset utilized in DPS-Net can be download from Google Drive.
For convenience, we encapsulate all training and finetuning commands in scripts/train_<dataset>.sh
To train our model, simply run:
python ./cmd/train_ips.sh
python ./cmd/train_rps.sh
To evaluate a trained model on a test set, run
python ./cmd/evaluate_ips.sh
python ./cmd/evaluate_rps.sh
We will appreciate it if you would like to cite our work via:
@inproceedings{tian2023dps,
title={DPS-Net: Deep polarimetric stereo depth estimation},
author={Tian, Chaoran and Pan, Weihong and Wang, Zimo and Mao, Mao and Zhang, Guofeng and Bao, Hujun and Tan, Ping and Cui, Zhaopeng},
booktitle={Proceedings of the IEEE/CVF International Conference on Computer Vision},
pages={3569--3579},
year={2023}
}
Thanks RAFT-Stereo, for providing nice and inspiring implementations of RAFT-Stereo. Thanks IRS for the open source stereo dataset, which includes the accurate surface normal and depth.