Comments (15)
and why '[,index]= sort(score,'ascend')' in market1501 evaluation and '[,index]= sort(score,'descend')' in cuhk03 evaluation?
from 2016_person_re-id.
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.
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.
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.
thanks for Zheng ge's answers!
from 2016_person_re-id.
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.
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.
Thank you again! i have got the rank1, rank5 and map.
from 2016_person_re-id.
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.
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.
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.
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.
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.
a function file in document is used to generate cuhk03_feature_res_split6.mat.you can find it carefullly
from 2016_person_re-id.
I found it ,Thank you! @daichenchao
from 2016_person_re-id.
Related Issues (20)
- undefined function or variable 'dagnn.Square' HOT 6
- run zzd_evaluation_res_faster.m and got NULL HOT 1
- About the share weights? HOT 2
- some issues about Oxford5k dataset and train order HOT 3
- Use 2016_person_re-ID train DukeMTMC HOT 5
- download link for pre-trained models HOT 6
- Attempt to execute SCRIPT vl_nnconv as a function: HOT 1
- Implementation on Keras HOT 2
- Pytorch implementation of this paper HOT 4
- The variable "dagnn" or class "dagnn.DagNN.loadobj" is not defined. HOT 5
- Undefined function or variable 'net' HOT 5
- about training the cuhk03 dataset HOT 1
- there is an error when i am running the train_id_net_res_2stream HOT 4
- some problem about softmax output
- ε―θ§ε HOT 2
- the ratio of classification loss and verification loss is 1/2 HOT 4
- the way of ResNet-50-Basel HOT 2
- how to get the result of single query and multi query HOT 3
- how to make the activation maps HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 2016_person_re-id.