All Projects → insikk → Delf_enhanced

insikk / Delf_enhanced

Wrapper of DELF Tensorflow Model

Projects that are alternatives of or similar to Delf enhanced

Delf Pytorch
PyTorch Implementation of "Large-Scale Image Retrieval with Attentive Deep Local Features"
Stars: ✭ 245 (+150%)
Mutual labels:  jupyter-notebook, image-retrieval
Siamesenetwork Tensorflow
Using siamese network to do dimensionality reduction and similar image retrieval
Stars: ✭ 258 (+163.27%)
Mutual labels:  jupyter-notebook, image-retrieval
Deepembeding
图像检索和向量搜索,similarity learning,compare deep metric and deep-hashing applying in image retrieval
Stars: ✭ 83 (-15.31%)
Mutual labels:  jupyter-notebook, image-retrieval
Cbe20255
Introduction to Chemical Engineering Analysis
Stars: ✭ 98 (+0%)
Mutual labels:  jupyter-notebook
Almond
A Scala kernel for Jupyter
Stars: ✭ 1,354 (+1281.63%)
Mutual labels:  jupyter-notebook
Datascience book
Stars: ✭ 99 (+1.02%)
Mutual labels:  jupyter-notebook
100days Ml Code
100天机器学习 (翻译+ 实操)
Stars: ✭ 98 (+0%)
Mutual labels:  jupyter-notebook
Ds For Telco
Source material for Data Science for Telecom Tutorial at Strata Singapore 2015
Stars: ✭ 98 (+0%)
Mutual labels:  jupyter-notebook
Adversarially Learned Anomaly Detection
ALAD (Proceedings of IEEE ICDM 2018) official code
Stars: ✭ 99 (+1.02%)
Mutual labels:  jupyter-notebook
Hands On Exploratory Data Analysis With Python
Hands-on Exploratory Data Analysis with Python, published by Packt
Stars: ✭ 99 (+1.02%)
Mutual labels:  jupyter-notebook
Gp regression
A Primer on Gaussian Processes for Regression Analysis (PyData NYC 2019)
Stars: ✭ 99 (+1.02%)
Mutual labels:  jupyter-notebook
Nab
The Numenta Anomaly Benchmark
Stars: ✭ 1,352 (+1279.59%)
Mutual labels:  jupyter-notebook
Afnet
Code for paper in CVPR2019, 'Attentive Feedback Network for Boundary-aware Salient Object Detection'
Stars: ✭ 99 (+1.02%)
Mutual labels:  jupyter-notebook
Objectron
Objectron is a dataset of short, object-centric video clips. In addition, the videos also contain AR session metadata including camera poses, sparse point-clouds and planes. In each video, the camera moves around and above the object and captures it from different views. Each object is annotated with a 3D bounding box. The 3D bounding box describes the object’s position, orientation, and dimensions. The dataset contains about 15K annotated video clips and 4M annotated images in the following categories: bikes, books, bottles, cameras, cereal boxes, chairs, cups, laptops, and shoes
Stars: ✭ 1,352 (+1279.59%)
Mutual labels:  jupyter-notebook
Ml Sound Classifier
Machine Learning Sound Classifier
Stars: ✭ 98 (+0%)
Mutual labels:  jupyter-notebook
Scipy 2014 julia
Stars: ✭ 98 (+0%)
Mutual labels:  jupyter-notebook
Facedetector
A re-implementation of mtcnn. Joint training, tutorial and deployment together.
Stars: ✭ 99 (+1.02%)
Mutual labels:  jupyter-notebook
Kmeans pytorch
kmeans using PyTorch
Stars: ✭ 98 (+0%)
Mutual labels:  jupyter-notebook
Physlight
Stars: ✭ 99 (+1.02%)
Mutual labels:  jupyter-notebook
Pytorch Bert Document Classification
Enriching BERT with Knowledge Graph Embedding for Document Classification (PyTorch)
Stars: ✭ 99 (+1.02%)
Mutual labels:  jupyter-notebook

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
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].