Need help with pedestrian-attribute-recognition-pytorch?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

255 Stars 68 Forks 19 Commits 15 Opened issues


A simple baseline for pedestrian attribute recognition in surveillance scenarios

Services available


Need anything else?

Contributors list

# 253,900
19 commits

Implement of Deep Multi-attribute Recognition model under ResNet50 backbone network


Prerequisite: Python 2.7 and Pytorch 0.3.1

  1. Install Pytorch

  2. Download and prepare the dataset as follow:

    a. PETA Baidu Yun, passwd: 5vep, or Google Drive.

    python script/dataset/ 

    b. RAP Google Drive.

    python script/dataset/

    c. PA100K Links

    python script/dataset/ 

    d. RAP(v2) Links.

    python script/dataset/

Train the model

   sh script/experiment/

Test the model

   sh script/experiment/


   python script/experiment/


Please cite this paper in your publications if it helps your research:

    author = {Dangwei Li and Xiaotang Chen and Kaiqi Huang},
    title = {Multi-attribute Learning for Pedestrian Attribute Recognition in Surveillance Scenarios},
    booktitle = {ACPR},
    year = {2015}


Partial codes are based on the repository from Houjing Huang.

The code should only be used for academic research.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.