Giter VIP home page Giter VIP logo

Comments (4)

mrharicot avatar mrharicot commented on July 29, 2024

Hi,

Your errors seem quite low, it looks like the training went ok.
I do not visualize the depth directly but the inverse of it (or disparity).

If you try to save 1.0 / pred_depth you should see a reasonable image.

from monodepth.

MeghaMaheshwari avatar MeghaMaheshwari commented on July 29, 2024

ok, let me try that

from monodepth.

MeghaMaheshwari avatar MeghaMaheshwari commented on July 29, 2024

ok, I got the disparity images which look reasonable. By the way in the function def scale_pyramid(self, img, num_scales): I had to cast the nh and nw as tensor elements otherwise the code was giving errors,

nh = tf.cast(nh, tf.int32)
nw = tf.cast(nw, tf.int32)
scaled_imgs.append(tf.image.resize_area(img, [nh, nw]))

The above change worked for me. I am using Python3 though and I guess your code is based on Python2.

I had one more question - your encoder for vgg as I see is pretty straightforward but for the decoder part is there any related article or link that I can read upon to get a better feel of it and how the disparities are getting output at different levels.

from monodepth.

mrharicot avatar mrharicot commented on July 29, 2024

The code was written for python2, I'll need to update at some point to make sure it works for both.

The decoder, is inspired by dispnet and flownet from Thomas' Brox group.
https://arxiv.org/abs/1504.06852

from monodepth.

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.