Giter Site home page Giter Site logo

Can you share the Cam code about yowo HOT 1 CLOSED

forest-su avatar forest-su commented on July 1, 2024
Can you share the Cam code

from yowo.

Comments (1)

okankop avatar okankop commented on July 1, 2024

Hi @forest-su, we have used the code in here: https://github.com/acheketa/pytorch-CAM

In order to create "Activation Maps" for 2D and 3D backbones, we have modified the code a lot. That's why we have not shared code here. However, here's what we did: Given an input clip of 16-frames, output features of 2D bacbone is weighted with 1 (since we want to see what activates 2D backbone regardless of which class it is) and created activation map is overelapped with the key-frame. For 3D backbone, we have used the output feature of layer 3 of ResNeXt-101 (where the depth dimension is 4) weight with again 1 and mapped to the corresponding frames on the input clip.

It is not too much effort, you just need to modify the forward pass of the YOWO model to return the desired output feature, set the weight to 1 and feed it to the CAM module in the above repo.

from yowo.

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.