Giter Site home page Giter Site logo

Jaccard metric bug? about tapnet HOT 5 CLOSED

google-deepmind avatar google-deepmind commented on July 28, 2024
Jaccard metric bug?

from tapnet.

Comments (5)

cdoersch avatar cdoersch commented on July 28, 2024 1

https://arxiv.org/abs/2009.07736 is a careful analysis of object tracking evaluation metrics, and it's the paper we used as the basis for making these decisions. In particular, in figure 2 makes it clear that they're advocating for this similar approach: a single frame is counted as both a false positive and a false negative.

from tapnet.

cdoersch avatar cdoersch commented on July 28, 2024

Hi @serycjon ,

I'm not sure I understand the issue, as I believe the behavior you're describing is correct for the Jaccard metric. Jaccard is intersection over union: true positives/(true positives + false positives + false negatives). If the algorithm outputs a point that is outside the threshold, this is counted as both a false positive and a false negative. Therefore, a single ground-truth point will count twice in the denominator. gt_positives counts true positives and false negatives; false_positives counts false positives.

In the tracking literature, this corresponds to human judgements that predicting an incorrect track is a worse error than simply losing track of an object.

Please let me know if I'm misunderstanding.

from tapnet.

serycjon avatar serycjon commented on July 28, 2024

Hi @cdoersch, thanks for quick reply.

Yeah, I understand Jaccard as IoU, or TP / (TP + FP + FN).
I just find the idea of counting a prediction as both a false positive and a false negative very unusual.
As far as I know, the FP and the FN sets should be disjoint. (BTW I wouldn't really call it intersection over union when the denominator is bigger than the union (some elements counted twice)).

Do you know about some prior work that uses this (in my opinion) unusual way of computing Jaccard index?

from tapnet.

serycjon avatar serycjon commented on July 28, 2024

Thanks, I don't see that immediately in figure 2 (the yellow FPA, green TPA, and red FNA boxes are mutually exclusive), but I will read the paper carefully later.

from tapnet.

yangyi02 avatar yangyi02 commented on July 28, 2024

Will close this issue for now.

from tapnet.

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.