Practical overview
When it fits
Use it when investigating stereo learning approaches that reduce reliance on collected stereo pairs or ground-truth depths, or when reproducing the repository’s documented training and evaluation workflows.
Who it is for
- Computer-vision researchers studying stereo matching or monocular depth estimation.
- Developers exploring how to create stereo training data from collections of single RGB images.
Documented uses
- Generate stereo training pairs from single-image datasets using estimated disparity.
- Train a stereo-matching model using the documented data pipeline.
- Run inference on supported evaluation datasets with a trained model.
Requirements & limits
The project is available as a public GitHub repository. No license is identified in the supplied project information; consult the repository’s license file for reuse terms.
- Training requires five named image datasets and their provided precomputed MiDaS depth estimates.
- Inference requires a downloaded dataset, a trained model and dataset paths configured in paths_config.yaml.
- The README links a trained model and reports evaluation results for KITTI, ETH3D and Middlebury.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Run inference on a stereo evaluation dataset
Run the documented inference workflow on a downloaded evaluation dataset and optionally save disparity maps.
Before you start
- A downloaded KITTI, Middlebury or ETH3D dataset.
- A trained model checkpoint; the README links to a trained model download.
- The repository and dataset locations configured in paths_config.yaml.
- A CUDA device selection for the documented command.
Steps
Download the evaluation dataset and set its location in paths_config.yaml.
Download a trained model and note its path.
Run main.py with --mode inference and --load_path set to the model path; optionally set --test_data_types and --save_disparities.
Expected outcome
The inference workflow runs against the selected dataset; the optional save_disparities setting requests saved disparity results.
Guide limitations
- The README does not provide a complete dataset-specific configuration walkthrough.
- Reported evaluations are on the datasets’ training sets, with images stated to have been unseen during training.
Prepare and start training a stereo model
Configure the documented datasets and precomputed depth estimates, then start model training.
Before you start
- ADE20K, DIODE, Depth in the Wild, Mapillary and COCO datasets.
- The provided precomputed MiDaS depth estimates for those datasets.
- Dataset and depth-estimate directories configured in paths_config.yaml.
Steps
Download the five listed datasets.
Download the corresponding provided MiDaS depth estimates and place them in the configured data paths.
Update paths_config.yaml with the dataset and depth-estimate locations.
Run main.py with --mode train, a --log_path and a --model_name.
Expected outcome
The documented training process is started with the selected model name and log location.
Guide limitations
- The README points to options.py for the full list of training options.
- This recipe covers the documented setup and training command, not a verified training result.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 15 November 2026
- Original website title
- nianticlabs/stereo-from-mono · Official homepage title · retained in its source language

