Giter VIP home page Giter VIP logo

Comments (4)

layumi avatar layumi commented on May 18, 2024

Hi @kentangSJTU ,
Market-1501 Dataset followed the mAP calculation in Oxford 5k dataset.
You may refer to http://www.robots.ox.ac.uk/~vgg/data/oxbuildings/compute_ap.cpp

from person_reid_baseline_pytorch.

kentang-mit avatar kentang-mit commented on May 18, 2024

Thanks a lot for your timely reply! It's very kind of you~

from person_reid_baseline_pytorch.

venuszhou avatar venuszhou commented on May 18, 2024

@kentangSJTU @layumi
hello, in compute_mAP, why do we ignore the junk_index? the code like below:
mask = np.in1d(index, junk_index, invert=True)
index = index[mask]
and why do like this:
cmc[rows_good[0]:] = 1
instead of
cmc[rows_good] = 1,
could you please more explanation about this? thanks a lot.

from person_reid_baseline_pytorch.

layumi avatar layumi commented on May 18, 2024

Hi @venuszhou ,

The physical meaning of CMC is whether the true matches appear before Rank-K.
Therefore, if the Rank 6th image is true match, CMC[5:] = 1. All CMC after 5 is set to 1. (We start from zero)

from person_reid_baseline_pytorch.

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.