GithubHelp home page GithubHelp logo

dmml's Introduction

Deep Meta Metric Learning (DMML)

This repo contains PyTorch code for ICCV19' paper: Deep Meta Metric Learning, including person re-identification experiments on Market-1501 and DukeMTMC-reID datasets.

Requirements

  • Python 3.6+
  • PyTorch 0.4
  • tensorboardX 1.6

To install all python packages, please run the following command:

pip install -r requirements.txt

Datasets

Downloading

  • Market-1501 dataset can be downloaded from here.
  • DukeMTMC-reID dataset can be downloaded from here.

Preparation

After downloading the datasets above, move them to the datasets/ folder in the project root directory, and rename dataset folders to 'market1501' and 'duke' respectively. I.e., the datasets/ folder should be organized as:

|-- market1501
    |-- bounding_box_train
    |-- bounding_box_test
    |-- ...
|-- duke
    |-- bounding_box_train
    |-- bounding_box_test
    |-- ...

Usage

Training

After adding dataset directory in demo.sh, simply run the following command to train DMML on Market-1501:

bash demo.sh

Usage instructions of all training parameters can be found in config.py.

Evaluation

To evaluate the performance of a trained model, run

python eval.py

which will output Rank-1, Rank-5, Rank-10 and mAP scores.

Citation

Please use the citation provided below if it is useful to your research:

Guangyi Chen, Tianren Zhang, Jiwen Lu, and Jie Zhou, Deep Meta Metric Learning, ICCV, 2019.

@inproceedings{chen2019deep,
  title={Deep Meta Metric Learning},
  author={Chen, Guangyi and Zhang, Tianren and Lu, Jiwen and Zhou, Jie},
  booktitle={ICCV},
  year={2019}
}

dmml's People

Contributors

chengy12 avatar trzhang0116 avatar

Watchers

 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.