You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This code is written in Lua and requires Torch. See the Torch installation documentation for more details.
To run this code, the following packages must be installed:
Request the dataset from tong.xiao.work[at]gmail.com (academic only).
Due to licensing issues, please send us your request using your university email.
Save data into a json file that contains a list of image paths, person ID, and raw captions for each image, of the form:
[{"split": "train", "captions": ["A woman is wearing a gray shirt, a pair of brown pants and a pair of shoes.", "She is wearing a dark grey top and light colored pants."], "file_path": "train_query/p11600_s14885.jpg", "id": 11003}]
You can also directly download the json file and save it to "data/reid_raw.json"
Download the VGG-16 network pre-trained model from model.
Run train.lua.
Citation
@article{li2017person,
title={Person search with natural language description},
author={Li, Shuang and Xiao, Tong and Li, Hongsheng and Zhou, Bolei and Yue, Dayu and Wang, Xiaogang},
journal={arXiv preprint arXiv:1702.05729},
year={2017}
}