OpenViSTAI · Agents · Blockchain · Crypto
Menu
AI Models

Stereo From Mono

Stereo From Mono is a Python research repository for learning stereo matching from single images. It uses monocular depth estimates to generate plausible disparity maps, then converts single-image collections into stereo training pairs for training a stereo-matching network.

Independent OpenViST project profile, based on linked sources.

Stereo From Mono — Researching monocular-depth-based generation of stereo training data
OpenViST project illustration. See the linked sources for product details.
Understand the project

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.
Before you choose

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.

Source-based practical guide

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

  1. Download the evaluation dataset and set its location in paths_config.yaml.

  2. Download a trained model and note its path.

  3. 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.
Source-based practical guide

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

  1. Download the five listed datasets.

  2. Download the corresponding provided MiDaS depth estimates and place them in the configured data paths.

  3. Update paths_config.yaml with the dataset and depth-estimate locations.

  4. 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.
Evidence and transparency

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