Giter VIP home page Giter VIP logo

Comments (13)

Cysu avatar Cysu commented on September 2, 2024

Suppose you have 3 gallery samples with ID 0,1,1 and 4 query samples with ID 0,0,1,1, then you need to

Compute 3x4 pairwise distance matrix D, where D[i, j] = distance between gallery-i and query-j
Create a query ID list qids = [0,0,1,1]
Create a gallery ID list gids = [0,1,1]
Then you can call reid.evaluation_metrics.cmc(D, qids, gids) to get CMC.

from open-reid.

Phoebe-star avatar Phoebe-star commented on September 2, 2024

1.why is ID 0,1,1 ? it mean the second and the third are the same person ?
2.so ID 0,1,1 don't have like cuhk03 ID 0000 0001 0002 0003 .....(many ID) ?

from open-reid.

Cysu avatar Cysu commented on September 2, 2024
  1. Yeah, it's just an example. The second and the third belong to the same person identity.
  2. It's just an example to help you understand.

from open-reid.

Phoebe-star avatar Phoebe-star commented on September 2, 2024

cuhk03 is use val to compute CMC right?

from open-reid.

Cysu avatar Cysu commented on September 2, 2024

I am not sure what you refer to. All the results here in open reid are reported on the test set.

from open-reid.

Phoebe-star avatar Phoebe-star commented on September 2, 2024

hi
1. what are the gallery , query and probe ?

  1. if the value of distance matrix is large = the pairwise is not the same person
    the value of distance matrix is small= the pairwise is the same person
    right?

from open-reid.

Linranran avatar Linranran commented on September 2, 2024

@Phoebe-star query is the same means as probe,you have a query(probe)image and then you should find the image that have the same id in the gallery. and we have a rank list of the gallery images ,CMC is caculated based on the list

from open-reid.

Cysu avatar Cysu commented on September 2, 2024

@Linranran Thank you very much for the explanation!

@Phoebe-star Yes, large distance value implies the pair is probably not the same person, and vice versa.

from open-reid.

Linranran avatar Linranran commented on September 2, 2024

@Cysu its my pleasure,haha

from open-reid.

Phoebe-star avatar Phoebe-star commented on September 2, 2024

I got it , thanks you ^^

from open-reid.

Phoebe-star avatar Phoebe-star commented on September 2, 2024

I have another problem
how to select cuhk03 dataset validation to compute CMC ??

every time , I got a different cmc value

from open-reid.

liangbh6 avatar liangbh6 commented on September 2, 2024

I have another question in computing CMC and mAP of cuhk03. Open reid gived me the result that rank1 was greater than mAP, but When I read some papers such as “SVDNet for Pedestrian Retrieval”, they showed the results that mAP was greater than rank1. I'm comfused all the time even after I read Evaluation Metrics in docs of open reid. Could anyone help me figure out that or just point me to some helpful website?

from open-reid.

Phoebe-star avatar Phoebe-star commented on September 2, 2024

what is your cmc code ?

from open-reid.

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.