pedestrian-attribute-recognition-with-GCN

October 10, 2019 ยท View on GitHub

Preparation

Prerequisite: Python 3.6 and torch 1.1.0 and tqdm

Download RAP(v2) dataset and annotation then put in dataset directory

Train the model

( If you simply want to run the demo code without further modification, you might skip this step by downloading the weight file from Baidu Yun with password "5z1j" and put the model_best.pth.tar into directory /checkpoint/ then run
python demo.py )

python transform_rap2.py     (transform data)
python glove.py      (word2vec)
python adj.py      (Adjacency matrix)
python train.py      (weight file will locate in checkpoint directory)

Methodology

image

Superiority

methodmAaccuracyprecisionrecallF1
ACN69.6662.6180.1272.2675.98
DeepMar73.7962.0274.9276.2175.56
HP-Net76.1265.3977.3378.7978.05
JRL77.81-78.1178.9878.58
VeSPa77.7067.3579.5179.6779.59
Ours75.9768.9981.4879.9780.72