Coder Social home page Coder Social logo

delf_enhanced's Introduction

DELF: DEep Local Features

This project is wrapper of DELF Tensorflow code (introduced in the paper "Large-Scale Image Retrieval with Attentive Deep Local Features") which is more easy to use for below reasons:

  • No bell and whistle for setup. All required packages are prepared.

  • Modularized code. You can easily import as python package from any of your fantastic project.

    • Get Local Descriptors from any image
    • Get Attention Image, so you can see why the DELFs are selected
    • Get Matching Image, so you can see why the image pair has high score
  • You also can load weight on a model build with its code.

    • You now have full access on any tensors in the graph, such as attention
    • You can play with code level instead of just reproducing with exported model.

What is DELF? Why is it good?

According to README in DELF Tensorflow code

DELF is particularly useful for large-scale instance-level image recognition. It detects and describes semantic local features which can be geometrically verified between images showing the same object instance. The pre-trained model released here has been optimized for landmark recognition, so expect it to work well in this area.

Matching, Attention Image Samples

Image in Landmark Dataset Pisa. See the power of attention For non-landmark, attention don't work

TODO

Any contributions are welcome 😄

[ ] write batch inference code. (one-by-one inference is too slow for any online application)

[ ] write export script for serving

[ ] write code for fine-tuning, and attention training

If you make use of this code, please consider citing:

Installation

# Python 3

# Tensorflow 1.3
pip install tensorflow==1.3

# OpenCV
pip install opencv-contrib-python

To be able to use this code, please follow these instructions to properly install the DELF library.

Please add path so delf can import these models.

cd ./slim
pip install -e . # install slim as package
cd ..
export PYTHONPATH=$PYTHONPATH:`pwd`
export PATH_TO_PROTOC=`pwd`

If you want to use this one as package, install this to your python env with below command

# In root dir of thie repo
sudo pip install -e .

Acknowledgement

"Large-Scale Image Retrieval with Attentive Deep Local Features",
Hyeonwoo Noh, Andre Araujo, Jack Sim, Tobias Weyand, Bohyung Han,
Proc. ICCV'17

delf_enhanced's People

Contributors

insikk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

delf_enhanced's Issues

Link "DEMO Python Notebook" is invalid

Hello,professer insikk. The link of "DEMO Python Notebook" is invalid. I would be grateful if you could update it. Thanks a lot again! Have a good day!

any

Any update ?
can you finetune the model now?

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.