OpenIBL icon indicating copy to clipboard operation
OpenIBL copied to clipboard

Performances on Oxford and Paris

Open amaralibey opened this issue 3 years ago • 6 comments

Hello, I tried your pretrained model on cnnimageretrieval-pytorch test script, and I got mAP : 67.90 for oxford (73.9 on your paper) mAP : 76.64 for paris (82.5 on your paper)

Am i missing something ? (both with and without PCA gave similar performances)

amaralibey avatar Apr 04 '21 04:04 amaralibey

All the testing configs are following those used in SARE and NetVLAD papers. Please try to find more details in their papers, e.g., the image size. Also note that the normalization parameters (mean & std) used in this repo for training the model may not the same as those used in cnnimageretrieval-pytorch. Please double-check.

yxgeee avatar Apr 04 '21 14:04 yxgeee

@aalibey have you solved the problem? When I set the size as (640, 480), I got the same results as yours. When I keep the original size of datasets, the mAP is 71.49 for Oxford and 79.40 for paris, still lower than the value 73.9 and 82.5 in the paper.

Guan2014 avatar Sep 04 '21 13:09 Guan2014

@Guan2014 Please follow the setup in https://github.com/Relja/netvlad/blob/master/demoRetrieval.m. For example, use PIL.Image.BICUBIC for resizing.

yxgeee avatar Sep 06 '21 01:09 yxgeee

@yxgeee Thank you! I'll have a try.

Guan2014 avatar Sep 06 '21 01:09 Guan2014

@yxgeee I didn't cropped the images with the given bounding box, but used the full image. According to https://github.com/Relja/netvlad/blob/master/demoRetrieval.m, NetVLAD doesn't resize the Oxford/Paris images if using the full image. Could you please tell me the required image size you used for oxford dataset?
In addition, the above results are obtained with feature dimension 4096, and I find a worse mAP with feature dimension 256. There are two mAPs for feature dimensions 4096 and 256 in https://github.com/Relja/netvlad/blob/master/demoRetrieval.m. Could you tell me which dimension you use? Thanks!

Guan2014 avatar Sep 06 '21 07:09 Guan2014

Have you get the 82.5% mPA in Paris6K?

xuzhuang1996 avatar Mar 24 '22 08:03 xuzhuang1996