Code Monkey home page Code Monkey logo

manifold-diffusion's Introduction

This is simple python re-implementation of the algorithms from papers Iscen.et.al "Fast Spectral Ranking for Similarity Search", CVPR2018 and Iscen et.al "Efficient Diffusion on Region Manifolds: Recovering Small Objects with Compact CNN Representations" CVPR 2017.

It is NOT authors implementation and some parts, e.g. sparsification, truncation, etc. are missing.

Example of usage: copy files into python directory of the RevisitOP benchmark and run

python example_evaluate_with_diff.py

Expected output:

Plain
>> roxford5k: mAP E: 84.81, M: 64.67, H: 38.47
>> roxford5k: mP@k[ 1  5 10] E: [ 97.06  85.29  70.59], M: [ 97.14  82.86  64.29], H: [ 81.43  31.43  22.86]
Conjugate gradient
>> roxford5k: mAP E: 86.42, M: 72.52, H: 48.56
>> roxford5k: mP@k[ 1  5 10] E: [ 92.65  91.18  82.35], M: [ 92.86  87.14  75.71], H: [ 87.14  41.43  27.14]
Spectral K=100, R=2000
>> roxford5k: mAP E: 86.5, M: 72.0, H: 45.7
>> roxford5k: mP@k[ 1  5 10] E: [ 94.12  91.18  80.88], M: [ 94.29  82.86  70.  ], H: [ 81.43  41.43  22.86]

manifold-diffusion's People

Contributors

ducha-aiki avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.