Git Product home page Git Product logo

Comments (4)

DavideA avatar DavideA commented on July 2, 2024

Hi and thanks for interest.

You can't do that.
That's because this architecture is tailored to take as input 16-frames clips.

Theoretically (i.e. with infinite gpu memory) you could compute features for such input shapes up to pool5. After that, the reshape at line 59 of C3D_model.py would result in a different dimension w.r.t. the subsequent linear layer, causing an error.

A common practice in those cases is to compute descriptors for 16-frames clips. In your case that would result in 1748-16 descriptors. But it depends on your application.

Hope this helps,
D

from c3d-pytorch.

shashankvkt avatar shashankvkt commented on July 2, 2024

Thank you for your feedback.
Just to summarize, what you are trying to say is that the model is trained to input 16 sequential frames and computes its corresponding features for these 16 frames. This would be computed for
total frames / 16 times?
Hope this is correct?
Thank you

from c3d-pytorch.

DavideA avatar DavideA commented on July 2, 2024

Just to summarize, what you are trying to say is that the model is trained to input 16 sequential frames and computes its corresponding features for these 16 frames.

Precisely.

This would be computed for total frames / 16 times?

It depends on what you feed to the model. If you build 16 frames clip striding one frame at a time (x_0 to x_15, x_1 to x_16 and so on) it would result in total_frames - 16 descriptors. But again, it depends on you and what you want to do with such descriptors.

D

from c3d-pytorch.

shashankvkt avatar shashankvkt commented on July 2, 2024

Cool...Thank you very much!

from c3d-pytorch.

Related Issues (14)

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.