Giter Site home page Giter Site logo

Comments (4)

DylanWusee avatar DylanWusee commented on August 29, 2024

Thank you for interesting in our work.

The part that you miss might be that the weight in 1x1 conv of Fig.5 is shared across all the points in the point cloud. However, the output of the MLP1' in Fig.5 is not. The reason for that is because the local region of a point cloud is not in a standard grid shape like images, refer to Fig.2(b) and (c) as an example.

So, in the original version of PointConv, the main memory consumption should be B x N x K x (C_in x C_out); And the efficient version should be B x N x K x C_mid + B x N x C_in x C_mid. The C_mid x C_in x C_out you mentioned is just a standard convolution kernel which is not the main memory consumption in this case.

ratio : B x N x (K + C_in) x C_mid / (B x N x K x C_in x C_out) = (K + C_in) x C_mid / (K x C_in x C_out)

The general value for C_in would be 641024, and K would be 832. So, (K + C_in) is the same magnitude as C_in.

So, the ratio becomes C_mid / (K x C_out) .

Hope that answered your question.

from pointconv.

KaneKun avatar KaneKun commented on August 29, 2024

Your analysis is correct. Hope that you would add such detail into the main paper :)

By the way, in practice, I wonder roughly about how many memory footprint you could save using the efficient solution (e.g., for the classification network with a certain batch size and number of points)?

from pointconv.

DylanWusee avatar DylanWusee commented on August 29, 2024

That is simple.

In practice, we could not be able to train an Original Version of PointConv on a general GPU such as GTX1080 Ti. But, we can easily train an efficient version of PointConv with the same structure.

The memory save is:
untrainable/unrunnable -> trainable/runnable

from pointconv.

KaneKun avatar KaneKun commented on August 29, 2024

Excellent! Thank you for your kind explanation.

from pointconv.

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.