All Projects → fmaglia → Keras_rmac_plus

fmaglia / Keras_rmac_plus

Keras implementation of R-MAC+ descriptors

Programming Languages

python
139335 projects - #7 most used programming language
python3
1442 projects

Projects that are alternatives of or similar to Keras rmac plus

Mmt
[ICLR-2020] Mutual Mean-Teaching: Pseudo Label Refinery for Unsupervised Domain Adaptation on Person Re-identification.
Stars: ✭ 345 (+650%)
Mutual labels:  image-retrieval
Lire
Open source library for content based image retrieval / visual information retrieval.
Stars: ✭ 740 (+1508.7%)
Mutual labels:  image-retrieval
Mxnet Ir
Image Retrieval Experiment Using Triplet Loss
Stars: ✭ 27 (-41.3%)
Mutual labels:  image-retrieval
Cbir
🏞 A content-based image retrieval (CBIR) system
Stars: ✭ 407 (+784.78%)
Mutual labels:  image-retrieval
Cnn For Image Retrieval
🌅The code of post "Image retrieval using MatconvNet and pre-trained imageNet"
Stars: ✭ 597 (+1197.83%)
Mutual labels:  image-retrieval
Ddsh Tip2018
source code for paper "Deep Discrete Supervised Hashing"
Stars: ✭ 16 (-65.22%)
Mutual labels:  image-retrieval
Batch Dropblock Network
Official source code of "Batch DropBlock Network for Person Re-identification and Beyond" (ICCV 2019)
Stars: ✭ 304 (+560.87%)
Mutual labels:  image-retrieval
Deep Fashion
Proposal a new method to retrieval clothing images
Stars: ✭ 44 (-4.35%)
Mutual labels:  image-retrieval
Deep metric
Deep Metric Learning
Stars: ✭ 671 (+1358.7%)
Mutual labels:  image-retrieval
Deep Mihash
Code for papers "Hashing with Mutual Information" (TPAMI 2019) and "Hashing with Binary Matrix Pursuit" (ECCV 2018)
Stars: ✭ 13 (-71.74%)
Mutual labels:  image-retrieval
Flask Keras Cnn Image Retrieval
🚀CNN-based image retrieval built on Keras
Stars: ✭ 416 (+804.35%)
Mutual labels:  image-retrieval
Hashing Baseline For Image Retrieval
Various hashing methods for image retrieval and serves as the baselines
Stars: ✭ 511 (+1010.87%)
Mutual labels:  image-retrieval
Cnnimageretrieval Pytorch
CNN Image Retrieval in PyTorch: Training and evaluating CNNs for Image Retrieval in PyTorch
Stars: ✭ 931 (+1923.91%)
Mutual labels:  image-retrieval
Hardnet
Hardnet descriptor model - "Working hard to know your neighbor's margins: Local descriptor learning loss"
Stars: ✭ 350 (+660.87%)
Mutual labels:  image-retrieval
Hierarchical Localization
Visual localization made easy with hloc
Stars: ✭ 997 (+2067.39%)
Mutual labels:  image-retrieval
Artificio
Deep Learning Computer Vision Algorithms for Real-World Use
Stars: ✭ 326 (+608.7%)
Mutual labels:  image-retrieval
Pyretri
Open source deep learning based unsupervised image retrieval toolbox built on PyTorch🔥
Stars: ✭ 795 (+1628.26%)
Mutual labels:  image-retrieval
Watermarkreco
Pytorch implementation of the paper "Large-Scale Historical Watermark Recognition: dataset and a new consistency-based approach"
Stars: ✭ 45 (-2.17%)
Mutual labels:  image-retrieval
Mirror
Matchable Image Retrieval by Learning from Surface Reconstruction
Stars: ✭ 44 (-4.35%)
Mutual labels:  image-retrieval
Cbir System
Content-Based Image Retrieval system (KTH DD2476 Project)
Stars: ✭ 9 (-80.43%)
Mutual labels:  image-retrieval

keras_rmac_plus

Keras implementation of R-MAC+ descriptors.

[paper] [project]

The image below represents the query phase exeucted for the R-MAC+ descriptors.

query phase

Prerequisites for Python3

  • Keras (> 2.0.0)
  • Tensorflow (> 1.5)
  • Scipy
  • Sklearn
  • OpenCV 3

Networks

The pipeline was tested with VGG16 and ResNet50. For the VGG16 the best performance are reached when the features are extracted from the block5_pool, instead for ResNet from the activation_43. It is possible to try with other networks. Please before to try it, check if there are available the Keras weight for the selected network.

Datasets

  • Holidays
  • Oxford5k
  • Paris6k

Download the datasets and put it into the data folder. Then compile the script for the evaluation of the retrieval system.

Test

python3 Keras_test_MAC.py

Results

Method Network Oxford5k Paris6k Holidays
R-MAC VGG16 65.56% 82.80% 87.65%
R-MAC ResNet50 71.77% 83.31% 92.55%
M-R RMAC+ ResNet50 78.88% 88.63% 94.63% / 95.58%
M-R RMAC+ with retrieval based on 'db regions' ResNet50 85.39 % 91.90% 94.37% / 95.87%

The R-MAC is an our re-implementation of the Tolias et al. 2016 paper, instead M-R RMAC comes from the Gordo et al. 2016 paper. The last two experiments are also executed on the rotated version of Holidays.

References

@article{magliani2018accurate,
  title={An accurate retrieval through R-MAC+ descriptors for landmark recognition},
  author={Magliani, Federico and Prati, Andrea},
  journal={arXiv preprint arXiv:1806.08565},
  year={2018}
}

@article{tolias2015particular,
  title={Particular object retrieval with integral max-pooling of CNN activations},
  author={Tolias, Giorgos and Sicre, Ronan and J{\'e}gou, Herv{\'e}},
  journal={arXiv preprint arXiv:1511.05879},
  year={2015}
}

@inproceedings{gordo2016deep,
  title={Deep image retrieval: Learning global representations for image search},
  author={Gordo, Albert and Almaz{\'a}n, Jon and Revaud, Jerome and Larlus, Diane},
  booktitle={European Conference on Computer Vision},
  pages={241--257},
  year={2016},
  organization={Springer}
}

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].