Structure-Aware Person Search with Self-Attention and Online Instance Aggregation Matching
-
Clone the person-PyTorch repository
-
Install - if necessary - the required dependencies:
- Python (tested with 3.7 and 3.6)
- PyTorch (conda install pytorch torchvision -c pytorch - tested with PyTorch 0.4, CUDA 9.0 and 9.2)
- Other python dependencies: numpy, scipy, tensorboard etc.
- Download datasets. PRW can be downloaded directly. CUHK-SYSU needs to apply to the author's mailbox.
- sh
./setup.sh
- run
dataset/process_prw.py
&dataset/process_sysu.py
- Download the
VGG/ResNet50
model pretrained on ImageNet - run
train.py
. This step takes 20 hours to train CUHK-SYSU or 14 hours to train PRW (Single 1080ti)
- run
test.py