Code Monkey home page Code Monkey logo

Comments (9)

JialeCao001 avatar JialeCao001 commented on June 25, 2024

@ollefager During Inference, we just compare the previous one frame with current frame. Please refer

from sipmask.

ollefager avatar ollefager commented on June 25, 2024

Thank you! Hmm, maybe I'm misunderstanding you. Because from my results I see that a specific track_id can disappear for a couple of frames to then appear again. This seems to indicate that the tracks are being saved for a number of frames.

from sipmask.

JialeCao001 avatar JialeCao001 commented on June 25, 2024

@ollefager The code save the last features of each previous object in memory.

from sipmask.

ollefager avatar ollefager commented on June 25, 2024

yes, so in each frame you also compare to the features of the objects in memory? If you only compare to the objects in the previous frame how could an object that has appeared earlier but does not appear in the previous frame, appear in the current frame?

from sipmask.

JialeCao001 avatar JialeCao001 commented on June 25, 2024

Yes. You are right. We only save one feature for each existed object.

from sipmask.

ollefager avatar ollefager commented on June 25, 2024

Okay. So do you ever remove an object from memory? Like if it hasn't appeared for a number of frames?

from sipmask.

ollefager avatar ollefager commented on June 25, 2024

If you don't mind I have another question. When comparing feature vectors you seem to compute their dot product, this line

prod = torch.mm(det_roi_feats, torch.transpose(self.prev_roi_feats, 0, 1))

I don't really see how this measures their similarity however, as a feature vector with large values would score higher than a more similar feature vector with lower values, could you maybe explain?

from sipmask.

JialeCao001 avatar JialeCao001 commented on June 25, 2024

The dot product is used to compute the feature similarity. L638-L643 select the best match.

from sipmask.

ollefager avatar ollefager commented on June 25, 2024

Okay, thank you very much for your time!

from sipmask.

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.