Coder Social home page Coder Social logo

GPU out of memory about co-tracker HOT 4 CLOSED

fenaux avatar fenaux commented on May 25, 2024
GPU out of memory

from co-tracker.

Comments (4)

nikitakaraevv avatar nikitakaraevv commented on May 25, 2024

Hi @fenaux, it looks like you were allocated a GPU in Colab that doesn't have enough memory for this part of the demo. You can try reducing grid_size when estimating tracks with a segmentation mask. I'll fix this later in the notebook.

from co-tracker.

fenaux avatar fenaux commented on May 25, 2024

Thanks for your fast answer,
on my computer (GPU is 16 GiB as the standard one on Colab) it works with grid_size = 60 (I did not try more)
once this change made no more problem for the dense tracks

Relationship between grid_size and pred_tracks.size() is not clear to me
with grid_size = 40 pred_tracks.size() = [1, number of frames, 161, 2]
and with grid_size = 60 pred_tracks.size() = [1, number of frames, 381,2]

from co-tracker.

nikitakaraevv avatar nikitakaraevv commented on May 25, 2024

In the example with segmentation, we sample grid_size * grid_size points on a regular grid. Later, these points are filtered using a binary segmentation mask, preserving only the points that lie inside the segmented area. This leaves us with 161 points out of 40 * 40 = 1600 initially sampled points and 381 out of 60 * 60 = 3600 initially sampled points.

from co-tracker.

fenaux avatar fenaux commented on May 25, 2024

Once again thanks for your prompt and clear answer

from co-tracker.

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.