GithubHelp home page GithubHelp logo

coincheung / sft-reid Goto Github PK

View Code? Open in Web Editor NEW
20.0 2.0 7.0 15 KB

My implementation of Spectral-Feature-Transformation-ReID, link to the paper: https://arxiv.org/abs/1811.11405

License: MIT License

Python 99.50% Shell 0.50%
sft-reid pytorch reid

sft-reid's Introduction

SFT-ReID

This is my implementation of the model proposed in paper SFT-ReID.

My working environment is python3.5.2, and my pytorch version is 1.0.0. If things are not going well on your system, please check you environment.

Get Market1501 dataset

Execute the script in the command line:

    $ sh get_market1501.sh

This will download the Market1501 dataset and extract to dataset directory.

Train and Evaluate

  • To train the model, just run the training script:
    $ python train.py

This will train the model and save the parameters to the directory of res/.

  • To embed the gallery and query set with the trained model and compute the accuracy, directly run:
    $ python evaluate.py

This will embed the gallery and query set, and then compute cmc and mAP.

Currently, I achieved accuracy of 93.20 rank-1, and 82.98 mAP without post-processing. If post-processing is added, the rank-1 and mAP can be 93.26 and 87.28.

sft-reid's People

Contributors

coincheung avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

sft-reid's Issues

How to solve 'Out of memory'?

Hello! Thanks for your share. I am a new Person-ReID user. I would like to ask whether your GPU is large so that it will not out of memory? My GPU is 8 GB. How to solve 'Out of memory'? Thank you!

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.