Giter Club home page Giter Club logo

Comments (3)

JamieWatson683 avatar JamieWatson683 commented on May 25, 2024 1

The script will save out inverse depth (which with a slight abuse of terminology refer to as "disparity" - to so convert to depth you can just do depth = 1 / disparity.

However, since we have trained from monocular sequences only, our predictions will be in an arbitrary scale. To convert to real world scale you can apply the same median scaling that happens when we are evaluating the model on line 336

if not opt.disable_median_scaling:
and save out the pred_depth after line 339.

Let me know if that works for you.

from manydepth.

JamieWatson683 avatar JamieWatson683 commented on May 25, 2024

Hi, thanks for your interest in the repo!

Sure - to save the predicted disparities after evaluation you can add the --save_pred_disps option to the command line, this should save out a block of predictions.

As for running on the benchmark data - I see the same error as you, and I actually see the same when trying to run using the Monodepth2 repo (on which Manydepth is based), so I will bring this up with the authors and see if we can get a push fixed.

Thanks a lot for finding this bug!

from manydepth.

agenthong avatar agenthong commented on May 25, 2024

Hi, thanks for your interest in the repo!

Sure - to save the predicted disparities after evaluation you can add the --save_pred_disps option to the command line, this should save out a block of predictions.

As for running on the benchmark data - I see the same error as you, and I actually see the same when trying to run using the Monodepth2 repo (on which Manydepth is based), so I will bring this up with the authors and see if we can get a push fixed.

Thanks a lot for finding this bug!

Thanks for replying!
I've saved disparity map by this way. Is there any demo to convert disparity map to depth map in this repo?

from manydepth.

Related Issues (20)

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.