Skip to content
/ SENet Public

Official PyTorch Implementation of Revisiting Self-Similarity: Structural Embedding for Image Retrieval, CVPR 2023

Notifications You must be signed in to change notification settings

sungonce/SENet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Revisiting Self-Similarity: Structural Embedding for Image Retrieval

Official Pytorch Implementation of the paper "Revisiting Self-Similarity: Structural Embedding for Image Retrieval"
accept to CVPR 2023
by Seongwon Lee, Suhyeon Lee, Hongje Seong, and Euntai Kim
Yonsei University

Introduction

➑️ Guide to Our Code

Data preparation

Download ROxford5k and RParis6k. Unzip the files and make the directory structures as follows.

revisitiop
 β”” data
   β”” datasets
     β”” roxford5k
       β”” gnd_roxford5k.pkl
       β”” jpg
         β”” ...
     β”” rparis6k
       β”” gnd_rparis6k.pkl
       β”” jpg
         β”” ...

Pretrained models

You can download our pretrained models from Google Drive.

Testing

For ResNet-50 model, run the command

python test.py SENET.RESNET_DEPTH 50 TEST.WEIGHTS <path-to-R50-pretrained-model> TEST.DATA_DIR <path_to_revisitop>/data/datasets

and for ResNet-101 model, run the command

python test.py SENET.RESNET_DEPTH 101 TEST.WEIGHTS <path-to-R101-pretrained-model> TEST.DATA_DIR <path_to_revisitop>/data/datasets

πŸ™ Acknowledgments

Our pytorch implementation is derived from Revisiting Oxford and Paris and DELG-pytorch. We thank for these great works and repos.

✏️ Citation

If you find our paper useful in your research, please cite us using the following entry:

@InProceedings{lee2023senet, 
    author    = {Lee, Seongwon and Lee, Suhyeon and Seong, Hongje and Kim, Euntai},
    title     = {Revisiting Self-Similarity: Structural Embedding for Image Retrieval},
    booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
    month     = {June},
    year      = {2023},
    pages     = {23412-23421}
}

About

Official PyTorch Implementation of Revisiting Self-Similarity: Structural Embedding for Image Retrieval, CVPR 2023

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages