GraftNet: Towards Domain Generalized Stereo Matching with a Broad-Spectrum and Task-Oriented Feature
- Python 3.6
- PyTorch 1.7.0
- torchvision 0.3.0
- VGG trained on ImageNet
python train_baseline.py --data_path (your SceneFlow data folder)
python train_adaptor.py --data_path (your SceneFlow data folder)
python retrain_CostAggregation.py --data_path (your SceneFlow data folder)
python test_kitti.py --data_path (your KITTI training data folder) --load_path (the path of the final model)
python test_middlebury.py --data_path (your Middlebury training data folder) --load_path (the path of the final model)
python test_middlebury.py --data_path (your Middlebury training data folder) --load_path (the path of the final model)