Giter VIP home page Giter VIP logo

Comments (15)

zgplvyou avatar zgplvyou commented on August 17, 2024

and why '[,index]= sort(score,'ascend')' in market1501 evaluation and '[,index]= sort(score,'descend')' in cuhk03 evaluation?

from 2016_person_re-id.

layumi avatar layumi commented on August 17, 2024

Hi @zgplvyou
ff1 is query feature
ff2 is gallery feature
We evaluate the result by the matching score. So we use sort

from 2016_person_re-id.

zgplvyou avatar zgplvyou commented on August 17, 2024

i have used your market1501 evaluation code , so i know the 'sort' mean. and why sort by β€˜ascend' in market1501 but 'descend' in cuhk03

from 2016_person_re-id.

layumi avatar layumi commented on August 17, 2024

In market1501, I followed the original code using (x-y)^2
In cuhk, I rewrite the code using x*y (x,y have been normalized)
since x^2 =1, y^2=1

from 2016_person_re-id.

zgplvyou avatar zgplvyou commented on August 17, 2024

thanks for Zheng ge's answers!

from 2016_person_re-id.

zgplvyou avatar zgplvyou commented on August 17, 2024
Sorry for one more question  about 'single-shot' and 'multi-shot'.
i know the 'single-query' and 'multi-query' due to your explanation. and i found the definition of 'single-shot' and 'multi-shot' that In general, when only an image pair is matched, the method is considered as single-shot recognition method. If matching is conducted between two sets of images, e.g. frames obtained from two separate trajectories. 

the test images of CUHK03 is obtained from 6 cameras(3 camera pairs[camera_1,camera_1'; camera_2,camera_2'; camera_3,camera_3']). the amount of test images is about 100 * 10.
so how to choose the query images and gallery images for single-shot and multi-shot.
is the prob=[all test images in camera_1, camera_2, camera_3], gallery = [random choose one image of each identity in camera_1', camera_2', camera_3'] in single-shot right? but in this case, the matching is obtained from different cameras. i am confused of the choice of probe and gallery on single-shot and multi-shot.

from 2016_person_re-id.

layumi avatar layumi commented on August 17, 2024

The original setting is single shot. Every time we select 1 query and 100 images from 100 person (another camera . For every person, we randomly selects one image) as gallery.
And run 20 times to report the mean precision.

Multi-shot is similar to market1501. We select 1 query and all images (another camera) as gallery.
Run one time.

from 2016_person_re-id.

zgplvyou avatar zgplvyou commented on August 17, 2024

Thank you again! i have got the rank1, rank5 and map.

from 2016_person_re-id.

daichenchao avatar daichenchao commented on August 17, 2024

thanks for your evaluation code , but i am a little confused about one line of it. could you tell me what 'load('cuhk03_feature_res_split6.mat')' mean. i don't find where the 'cuhk03_feature_res_split6.mat' is.

from 2016_person_re-id.

layumi avatar layumi commented on August 17, 2024

Hi @daichenchao
You need to generate it. I wrote a prepare script.
You may check here.https://github.com/layumi/2016_person_re-ID/blob/master/cuhk03-prepare-eval/prepare_imdb.m#L9

from 2016_person_re-id.

daichenchao avatar daichenchao commented on August 17, 2024

Thanks for your reply! I have performed /cuhk03-prepare-eval/prepare_imdb.m I can not find cuhk03_feature_res_split6.mat rather than cuhk_data_256_split6.mat. cuhk03_feature_res_split6.mat is located in 2016_person_re-ID-master\cuhk03-prepare-eval\eval_cuhk03_10times.m. it is located in first line.I think this file should be stored in the characteristics of resnet-50 extraction

from 2016_person_re-id.

daichenchao avatar daichenchao commented on August 17, 2024

Sorry to bother you. I have found the cuhk03_feature_res_split6.mat generated file. Very embarrassing, I did not double-check.Thank you again! i have got the rank1, rank5 and map.

from 2016_person_re-id.

rmxhhh avatar rmxhhh commented on August 17, 2024

sorry to bother you,can you tell me where is the' cuhk03_feature_res_split6.mat',I can not find it.Thank you very much. @daichenchao

from 2016_person_re-id.

daichenchao avatar daichenchao commented on August 17, 2024

a function file in document is used to generate cuhk03_feature_res_split6.mat.you can find it carefullly

from 2016_person_re-id.

rmxhhh avatar rmxhhh commented on August 17, 2024

I found it ,Thank you! @daichenchao

from 2016_person_re-id.

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.