vana77 / Market-1501_Attribute

27 hand-annotated attributes of Market-1501
283 stars 63 forks source link

The query folder of Market-1501 for what? #11

Closed ciwei123 closed 5 years ago

ciwei123 commented 5 years ago

@vana77 ,Hi,I can not understand the query folder,gt_query folder and gr_bbox,those for what ?Thank you! and forget my poor English.

layumi commented 5 years ago

Hi @ciwei123, Just for a quick explanation,

More details can be found at http://www.liangzheng.com.cn/Project/project_reid.html.

4) "gt_query". This folder contains the ground truth annotations. For each query, the relevant images are marked as "good" or "junk". "junk" has zero impact on search accuracy. "junk" images also include those in the same camera with the query.
5) "gt_bbox". We also provide the hand-drawn bounding boxes. They are used to judge whether a DPM bounding box is good. 
ciwei123 commented 5 years ago

@layumi Thanks your reply! That means that 'gt_query' and 'query' are for evaluate the model, right? And another question, I have trained a reid model 'model.ckpt-300000', how I evaluate the model? Thank you again!!

layumi commented 5 years ago

Which framework did you use? I do not know with the ckpt file.

If you use python, especially pytorch, you may refer to https://github.com/layumi/Person_reID_baseline_pytorch/blob/master/evaluate.py If you use matlab, you may refer to https://github.com/layumi/2016_person_re-ID/tree/master/evaluation

ciwei123 commented 5 years ago

@layumi Thank you very much! And I have learned your "tutorial", that is very useful .Thank you again.Now, I have an another question.I have trained the model from "https://github.com/nwojke/cosine_metric_learning" , and this link code have created "query.mat" and "test.mat", but when I evaluate the model ,I need a ”query_max.mat“ file.How I can get the file according the "query.mat"? Looking for your reply.

layumi commented 5 years ago

Why you need a 'query_max.mat'? You want to conduct a multiple-query evaluation?

ciwei123 commented 5 years ago

@layumi Yes! I want to conduct a multiple-query evaluation. Because I see the following paragraph:" While the single-gallery-shot CMC is well defined, it does not have a common agreement when it comes to the multi-gallery-shot setting, where each gallery identity could have multiple instances. " Could you help me get the "query_max.mat" file according the "query.mat" ? Looking for your reply.Thank you very much.

layumi commented 5 years ago

@ciwei123 Please check the original code of Market-1501. It includes a code for multiple-query evaluation http://www.liangzheng.org/Project/project_reid.html , which generates query_max and query_avg.

ciwei123 commented 5 years ago

@layumi Thank you .You really give me a lot of help. I want to combine a REID code for my tracking, I find a REID code Rank 1=79.1, mAP=56.68 in Market-1501. I want to find a better performance code. Could you give me some advice about REID open source ?Thank you very much!

layumi commented 5 years ago

If you want to use matlab, you may check this link (https://github.com/layumi/Person_reID_baseline_matconvnet). If you want to use python, please check this (https://github.com/layumi/Person_reID_baseline_pytorch).

ciwei123 commented 5 years ago

@layumi I will study it .I don't know how to express my gratitude. If I can help you something, please contact me.Thank you again.