Coder Social home page Coder Social logo

afcarl / cvpr17-dvsq Goto Github PK

View Code? Open in Web Editor NEW

This project forked from caoyue10/cvpr17-dvsq

0.0 0.0 0.0 5.97 MB

The implementation of CVPR-17 paper "Deep Visual-Semantic Quantization of Efficient Image Retrieval"

Python 99.58% Shell 0.42%

cvpr17-dvsq's Introduction

cvpr17-dvsq

This is the Tensorflow (Version 0.11) implementation of CVPR-17 paper "Deep Visual-Semantic Quantization for Efficient Image Retrieval". The descriptions of files in this directory are listed below:

  • net.py: contains the main implementation (network structure, loss function, optimization procedure and etc.) of the proposed approach dvsq.
  • net_val.py: contains the implementation of dvsq for evaluation.
  • util.py: contains the implementation of Dataset, MAP and ProcessBar.
  • train_script.py: gives an example to show how to train dvsq model.
  • validation_script.py: gives an example to show how to evaluate the trained quantization model.
  • run_dvsq.sh: gives an example to show the full procedure of training and evaluating the proposed approach dvsq.

Data Preparation

In data/nuswide_81/train.txt, we give an example to show how to prepare image training data. In data/nuswide_81/test.txt and data/nuswide_81/database.txt, the list of testing and database images could be processed during predicting procedure. In data/nuswide_81/nuswide_wordvec.txt, we have already prepared the word vectors of the labels extracted by Word2Vec model pretrained on Google News Dataset.

Training Model and Predicting

The bvlc_reference_caffenet is used as the pre-trained model. If the NUS_WIDE dataset and pre-trained caffemodel is prepared, the example can be run with the following command:

"./run_dvsq.sh"

Citation

@inproceedings{conf/cvpr/CaoL0L17,
  author    = {Yue Cao and
               Mingsheng Long and
               Jianmin Wang and
               Shichen Liu},
  title     = {Deep Visual-Semantic Quantization for Efficient Image Retrieval},
  booktitle = {2017 {IEEE} Conference on Computer Vision and Pattern Recognition,
      {CVPR} 2017, Honolulu, Hawaii, USA, July 21-26, 2017}
}

cvpr17-dvsq's People

Contributors

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