Coder Social home page Coder Social logo

flybirdtian / nconv Goto Github PK

View Code? Open in Web Editor NEW

This project forked from abdo-eldesokey/nconv

0.0 1.0 0.0 12.85 MB

A PyTorch implementation for our work "Confidence Propagation through CNNs for Guided Sparse Depth Regression"

License: GNU General Public License v3.0

Python 99.64% Shell 0.36%

nconv's Introduction

NConv-CNN

This is the PyTorch implementation for our work:

  1. Propagating Confidences through CNNs for Sparse Data Regression

  2. Confidence Propagation through CNNs for Guided Sparse Depth Regression

If you use this code or compare against it, please cite our work:

@article{eldesokey2018propagating,
  title={Propagating Confidences through CNNs for Sparse Data Regression},
  author={Eldesokey, Abdelrahman and Felsberg, Michael and Khan, Fahad Shahbaz},
  journal={arXiv preprint arXiv:1805.11913},
  year={2018}
}
@article{eldesokey2018confidence,
  title={Confidence Propagation through CNNs for Guided Sparse Depth Regression},
  author={Eldesokey, Abdelrahman and Felsberg, Michael and Khan, Fahad Shahbaz},
  journal={arXiv preprint arXiv:1811.01791},
  year={2018}
}

Contents

  1. Dependencies
  2. Networks Description
  3. Evaluation using Pretrained Weights
  4. The NYU-Depth-v2 dataset
  5. Contact

Dependecies

  • opencv (To save output images)
  • json (To read experiment parameters file)

Usage

python run-nconv-cnn.py -mode [MODE] -exp [EXP] -chkpt [CHKPT] -set [SET]

[MODE]: The mode could be either train or eval.

[EXP]: The name of the directory in 'workspace' which has the network file.

[CHKPT]: (optional) Continue traing from a specific epoch or evaluate using a specific epoch.

[SET]: (optional) The set to evaluate on. The possible options are val, selval or test.

Networks Description

Networks are located in "workspace" directory. Each network file is stored in its own directory and associated with params.json which has the training parameters for the network.

Four netwokrs are available:

  1. exp_unguided_disparity: Unguided depth completion network trained on disparity (Deonted as NConv-HMS in paper [1])
  2. exp_unguided_depth: Unguided depth completion network trained on depth.
  3. exp_guided_nconv_cnn_l1: Guided depth completion network trained on depth (Denoted as MS-Net[LF] or NConv-CNN-L1 in paper [2])
  4. exp_guided_nconv_cnn_l2: Guided depth completion network trained on depth (Denoted as NConv-CNN-L2 in paper [2])
  5. exp_guided_enc_dec: Guided depth completion network trained on depth (Denoted as Enc-Dec[EF] in paper [2])

Evaluation using Pretrained Weights

You can evaluate any of the networks using the pretrained-weights by calling

python run-nconv-cnn.py -mode eval -exp <exp_name>

The NYU-Depth-v2 dataset

The implemntation for the NYU-Depth-v2 dataset can be found at: https://github.com/abdo-eldesokey/nconv-nyu

Contact

Abdelrahman Eldesokey

E-mail: [email protected]

nconv's People

Contributors

abdo-eldesokey avatar flybirdtian avatar

Watchers

 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.