- Python 3.9
- PyTorch 1.13.0
- torchvision 0.14.0
- matplotlib
- opencv-python
- pillow
python main.py --data_path (your SceneFlow data folder) --savemodel (the path of the saved models) --logfile (the path of the log file) --res18 (the path of the Pretrained ResNet18 Model)
In the training stage, our code will automatically test the performance of four realistic datasets (Middlebury, ETH3D, KITTI2015, KITTI2012) after each epoch.
You only need to change the corresponding paths of the testing datasets in main.py.
If you want to evaluate the specific model on a certain realistic dataset:
python submission.py --loadmodel (your testing model) --test_name (the name of testing dataset) --logfile (the path of the log file)
If you find our work useful in your research, please consider citing our paper:
@inproceedings{chang2023domain,
title={Domain Generalized Stereo Matching via Hierarchical Visual Transformation},
author={Chang, Tianyu and Yang, Xun and Zhang, Tianzhu and Wang, Meng},
booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition},
pages={9559--9568},
year={2023}
}
This project is built upon PSMNet, we thank the original authors for their excellent work.