Git Product home page Git Product logo

Comments (2)

mihaidusmanu avatar mihaidusmanu commented on June 9, 2024

Hello. Please find the answers inlined below.

Then why you need to crop the images insteaded of use the origin image?

You are right, we are using crops due to memory reasons mainly. Another reason for using crops is that training images have a wide range of resolutions.

and what do you mean by a random 256 * 256 crop centered around one correspondence? around which correspondence?

The pipeline for dataset selection first picks a correspondence from the sparse 3D model and then crops a 256x256 area around it.

After that, do you choose a fixed number of pixel-wise correspondence as your positive pair or use all of them? and how can you guarantee this two cropped images have at least 128 correspondence pixel pairs ?

We use all pixel-wise correspondences for computing the loss. Since we are using a batch size of 1, we simply skip the image pairs with fewer than 128 correspondences.

d2-net/lib/loss.py

Lines 75 to 76 in be09ec7

if ids.size(0) < 128:
continue

from d2-net.

XuyangBai avatar XuyangBai commented on June 9, 2024

Thanks a lot !

from d2-net.

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.