MA-Stereo: Real-Time Stereo Matching via Multi-scale Attention Fusion and Spatial Error-aware Refinement
Wei Gao, Yongjie Cai, Youssef Akoudad, Yang Yang, and Jie Chen
Use the following command to train MA-Stereo on Scene Flow. First training,
python train_sceneflow.py --logdir ./checkpoints/sceneflow/first/
Second training,
python train_sceneflow_2.py --logdir ./checkpoints/sceneflow/second/ --loadckpt ./checkpoints/sceneflow/first/checkpoint_000063.ckpt
Use the following command to train CGI-Stereo on KITTI (using pretrained model on Scene Flow),
python train_kitti.py --logdir ./checkpoints/kitti/ --loadckpt ./checkpoints/sceneflow/second/checkpoint_000063.ckpt
Generate disparity images of KITTI test set,
python save_disp.py
Special thanks to CGI-Stereo for providing the code base for this work.