Git Product home page Git Product logo

rrid's Introduction

PyTorch implementation of RRID

no_image

This is the implementation of the paper "Relation Network for Person Re-identification (AAAI 2020)".

For more information, checkout the project site [website] and the paper [PDF].

Dependencies

  • Python 3.6
  • PyTorch >= 0.4.1
  • numpy
  • h5py

Datasets

Download the datasets into datasets folder, like ./datasets/market1501/

The market1501 dataset is only available now, and other datasets will be uploaded later

Training

git clone https://github.com/cvlab-yonsei/projects
cd projects/RRID/code
python Train.py --gpus 0 1 # for training
  • You can freely define parameters with your own settings like
python Train.py --gpus 0 1 --dataset_path 'your_dataset_directory' --dataset_type market1501 --exp_dir 'your_log_directory'

Pre-trained model

  • Download pre-trained weights
    Link: [weights]
  • Two GPUs are needed to implement the trained model
  • The version of pytorch must be 0.4.1 when you implement the model with these weights

Evaluation

  • Test the model with our pre-trained weights
python Evaluate.py --gpus 0 1 --pretrained_weights_dir pretrained_weights.pth 
  • Test your own model
python Evaluate.py --exp dir log

Bibtex

@inproceedings{park2019relation,
  title={Relation Network for Person Re-identification},
  author={Park, Hyunjong and Ham, Bumsub},
  booktitle={Proceedings of the AAAI Conference on Artificial Intelligence},
  year={2020}
}

rrid's People

Contributors

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