Coder Social home page Coder Social logo

michaelramamonjisoa / sharpnet Goto Github PK

View Code? Open in Web Editor NEW
137.0 8.0 19.0 2.41 MB

SharpNet: Fast and Accurate Recovery of Occluding Contours in Monocular Depth Estimation

License: GNU General Public License v3.0

Python 100.00%
depth-estimation iccv2019 iccv19 iccvw-2019 iccvw iccv nyuv2 contours normal-estimation contour-detection

sharpnet's Issues

Normalization deph image

In demo.py :

depth_pred = depth_pred.data.cpu().numpy()[0, 0, ...]
depth_pred = scale * cv2.resize(depth_pred* 65535 / 1000, dsize=(image_original.size[0], image_original.size[1]), interpolation=cv2.INTER_LINEAR)

Change to :

depth_pred = depth_pred.data.cpu().numpy()[0, 0, ...]
depth_pred = scale * cv2.resize(depth_pred*255, dsize=(image_original.size[0], image_original.size[1]), interpolation=cv2.INTER_LINEAR)

Optimizer and Weight decay

Regarding 6.4 in the paper, do you use actual weight decay or a simple L^2 regularisation term on the weights? Is the optimizer ordinary SGD or something like Adam?

why can't predict occluding contours?

Hello,
I load the model pre-trained on PBRS, then finetune on NYU. But when I run demo.py, the model can't predict occluding contours, the predicted result is blank. However, the other two task can work normally. I'm confused......

About the depth-boundary consistency loss

Thank you for sharing your great work.
I have one question about the implementation of your loss function. For depth-boundary consistency loss, I think you realize it as a class there. But I found it isn't the same as the formulation you use in your paper. It seems like one the first term and without a minus sign. I'm a little confused and please help me figure it out.
image

class DepthBoundaryConsensusLoss(nn.Module):

About your loss function and finetuning

Hi, I have been watching your excellent work recently. However I have not found the loss functions computation in your source code. Could you share them for us to take a look?

Question: Annotation tool

I noted that you manually annotated 100 NYUv2 images with occlusion contours. Can you kindly tell me which tool did you use for annotation? Thanks a lot!

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.