GithubHelp home page GithubHelp logo

graph_fusion's Introduction

General description

Python code and data (i.e., ranks and graphs of UKBench dataset) of the following paper: Shaoting Zhang, Ming Yang, Timothee Cour, Kai Yu, Dimitris N. Metaxas: Query Specific Fusion for Image Retrieval. ECCV (2) 2012: 660-673 http://www.research.rutgers.edu/~shaoting/paper/ECCV12-retrieval.pdf

(Note: This Python code is for the graph fusion algorithm, which is the key contribution of our paper. The vocabulary tree system and the hashing method are not included. Instead, we provide the retrieval results of these two baselines to reproduce the experimental results. For reference purpose, we use this vocabulary tree system: Xiaoyu Wang, Ming Yang, Timothee Cour, Shenghuo Zhu, Kai Yu, Tony X. Han: Contextual weighting for vocabulary tree based image retrieval. ICCV 2011: 209-216)

How to use

  1. Use "build_rknn_graphs.py" to build graphs for each rank, based on reciprocal kNN and Jaccard similarity

  2. Use "graph_fusion.py" to fuse these graphs, using a localized PageRank algorithm or find the weighted maximum density subgraph centered at the query image.

Data

  1. "ukbench_rank_voc.txt" and "ukbench_rank_hsv3d.txt" Ranks, i.e., retrieval results using two baselines, vocabulary tree and HSV Needed in "build_rknn_graphs.py" Format (in each row): image_name top_1_ID top_2_ID ...

  2. "uk_bench_graphs" Graphs for each query image Generated by using "build_rknn_graphs.py" and rank files

  3. "ukbench_list_images_labels.txt" Provide labels (i.e., category names) for each image Needed in "evaluate.py"

  4. "ukbench_graph_list.txt" List of paths of all graphs Needed in "graph_fusion.py"

graph_fusion's People

Contributors

shanshi66 avatar

Stargazers

liuguochao avatar

Watchers

James Cloos 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.