Git Product home page Git Product logo

dl_stereo_matching's Introduction

Siamese Deep Neural Networks for Stereo Matching

A Tensorflow implementation of the models described in the paper Efficient Deep Learning for Stereo Matching. This implementation is based on the one provided by the authors of the paper at: https://bitbucket.org/saakuraa/cvpr16_stereo_public/overview

Architecture of the win37_dep9 network:

Global view

Detailed view

Installation

  1. Install Tensorflow

  2. Clone the repository

git clone https://github.com/fjulca-aguilar/dl_stereo_matching.git

Training new models

New models can be trained using

python train.py --util_root=PATH_BINARY \
--data_root=PATH_DATABASE \
--net_type=win19_dep9 \
--patch_size=19 \
--model_dir=MODEL_DIR \
--phase=train &

The training and evaluation schemes use the same training data and similar parameters to the ones defined at https://bitbucket.org/saakuraa/cvpr16_stereo_public/overview

Training evolution and graphs can be seen using Tensorboard. The following image shows examples of Cross-entropy Loss evolution for 40 000 training steps (horizontal axes represent the the number of iterations * 100): (blue = win19_dep9, green = win37_dep9)

Evaluation on validation patches

Trained models can be evaluated on validation patches using

python train.py --util_root=PATH_BINARY \
--data_root=PATH_DATABASE \
--net_type=win19_dep9 \
--patch_size=19 
--model_dir=MODEL_DIR
--phase=evaluate &

Testing on images

Evaluation on images can be done using

python test_images.py \ 
--out_dir=OUT_IMAGES_DIR \
--model_dir=MODEL_DIR \
--data_root=PATH_DATABASE \
--util_root= PATH_BINARY\
--net_type=win19_dep9 \
--patch_size=19 \
--num_imgs=10 &

The script generates num_imgs disparity images and saves them at the OUT_IMAGES_DIR directory

dl_stereo_matching's People

Contributors

fjulca-aguilar avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.