Git Product home page Git Product logo

Comments (2)

davrempe avatar davrempe commented on June 18, 2024

The batch size you can use depends on your GPU. Using iMapper sequences that are 2 sec (60 frames) long (hence --imapper-seq-len 60 in the config), a batch size of 32 will jointly optimize over 1 minute of video which is probably too much to fit on memory. Changing from --num-iters 30 80 70 to --num-iters 3 8 7 for these 2 sec sequences will give very bad results because the optimization will not have enough iterations to converge.

Alternatively, you could make the sequence lengths much smaller, like --imapper-seq-len 10 with a larger batch size and a smaller num-iters (since convergence is faster for short sequences). However this is not recommended because the method will likely fail for small sequences where the person is occluded - the first pose of the motion sequence will be initialized from a frame with heavy occlusions which usually severely hurts performance. You'll have to experiment and see the results.

Note that any time you change --num-iters or seq-len, you will also need to change all the --stage3-tune-init-* arguments. For example, if --num-iters 30 80 70, then --stage3-tune-init-freeze-start and --stage3-tune-init-freeze-end must be < 70 since these define the different steps performed in the third stage of optimization (this is detailed in the supplementary material of the paper). And --stage3-tune-init-num-frames 15 must be < seq-len.

Unfortunately, besides using a huge GPU and increasing batch size I don't think you will be able to improve optimization time too much.

from humor.

davrempe avatar davrempe commented on June 18, 2024

Closing for now. Let me know if you have any other issues.

from humor.

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.