Coder Social home page Coder Social logo

Comments (1)

HuguesTHOMAS avatar HuguesTHOMAS commented on August 16, 2024

Hi @yyyooo278,

Thank you for your interest in KPConv. Here are some clarifications:

  1. To understand the function calibrate_batches, you have to understand how our batches are stacked. We do not use batches with a constant number of elements, because the number of points inside each element (the input spheres) vary a lot. Instead we fix a maximum number of point that a batch can contain and stack elements until the limit is reached. Therefore the batches have a more regular sizes: each batch has approximately the same number of points but a different number of input spheres. However we still have a batch_num parameter. The role of the function calibrate_batches is to calibrate the maximum number of point in a batch (self.batch_limit) so that the average number of input spheres contained in a batch is close to batch_num.

  2. The function spatially_regular_gen defines a sampling technique based on updated potentials. I had this idea on my own but I assume similar sampling technique had already been defined (I don't have any idea of the name though). The problem of uniform sampling is that it is biased by the density of points. In a dataset like Semantic3D, with large density variations, random sampling is not recommended. Indeed the parts of the 3D scenes with lower densities will be picked very rarely and the network will only learn the shapes of the high density regions. The main advantage of using potentials is to ensure that every part of the 3D scenes is sampled enough times.

I hope my answers are clear enough, don't hesitate if you have any other questions.

Best,
Hugues

from kpconv.

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.