Coder Social home page Coder Social logo

Comments (4)

zachteed avatar zachteed commented on September 27, 2024 7

Hi, as described in our paper, this efficient computation is an "alternative implementation", which is unnecessary even for 1088x1920 videos. This code provides the default implementation that precomputes correlations of all pairs with complexity O(N^2).

from raft.

ProNoobLi avatar ProNoobLi commented on September 27, 2024

Hi, as described in our paper, this efficient computation is an "alternative implementation", which is unnecessary even for 1088x1920 videos. This code provides the default implementation that precomputes correlations of all pairs with complexity O(N^2).

Thank you, I am trying to reproduce the efficient way.
Additionally, the subscript of the cost volume should be (m-1) instead of m. Full resolution should be processed when m=1 without pooling, but the formula indicates the pooling 2*2 at level 1

from raft.

zachteed avatar zachteed commented on September 27, 2024

While the "efficent implementation" has lower complexity, it is generally much faster to precompute all pairs correlation. I've written a fairly optimized CUDA implementation of the "efficent" method (to confirm that the results are exactly the same), and it is still ~4x slower than the default implementation on Sintel resolution images, due to the fact that memory lookups are irregular.

Regarding the formula, I was starting indexing at 0

from raft.

ProNoobLi avatar ProNoobLi commented on September 27, 2024

While the "efficent implementation" has lower complexity, it is generally much faster to precompute all pairs correlation. I've written a fairly optimized CUDA implementation of the "efficent" method (to confirm that the results are exactly the same), and it is still ~4x slower than the default implementation on Sintel resolution images, due to the fact that memory lookups are irregular.

Regarding the formula, I was starting indexing at 0

I see. Is it possible to achieve correlation in pure torch since no need to handle backward function?

But the index of your paper starts at 1, thus it is a bit of confused

from raft.

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.