Coder Social home page Coder Social logo

pxl-th / monodepth2.jl Goto Github PK

View Code? Open in Web Editor NEW
13.0 3.0 2.0 48.42 MB

Self-supervised monocular depth estimation

Julia 100.00%
depth-estimation monodepth2 machine-learning computer-vision neural-networks julia-language self-supervised monodepth flux deep-learning

monodepth2.jl's Introduction

Monodepth2.jl

Implementation of the "Digging Into Self-Supervised Monocular Depth Estimation" paper.

Monodepth

Monocular depth estimation. Using single image to predict disparity map.

Depth

Training parameters:

  • resolution 416x128;
  • ResNet 18 model;
  • no automasking & using pose prediction network.

Supported datasets

Install

Install model, image-augmentation library and the package itself:

]add https://github.com/pxl-th/ResNet.jl.git
]add https://github.com/pxl-th/Augmentations.jl.git
]add https://github.com/pxl-th/Monodepth2.jl.git

Simple disparity estimation

Simple disparity estimation using gradient descent with parameters:

  • disparity map;
  • rotation vector (so3);
  • translation vector.

Triplet

Visualization of the disparity map learning dynamics for the triplet above.

Depth

Important

  • Norm function is computed using sqrt.(sum(abs2, ...)). However, sqrt function has NaN gradient at 0. This can be mitigated by defining subgradient or even better, norm function that can act on the given axis, similar to PyTorch.

  • For poses, struct Pose is used instead of arrays or tuple because of this issue.

monodepth2.jl's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

monodepth2.jl's Issues

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.