This repository contains the testing code associated with our paper titled "Multi Deep Invariant Feature Learning for Cross-Resolution Person Re-Identification". Our method presents a novel approach to person re-identification across different resolutions, achieving significant improvements.
Our approach focuses on learning invariant features across different resolutions by our framework MDIFF.
Despite promising results, we acknowledge the potential for further improvement in our method, and we look forward to exploring these possibilities in future research.
The testing code provided here allows for independent evaluation of our method's performance.
You need torch
, numpy
and pillow
installed in your environment.
Download the VIPeR dataset from this url: https://cloud.foreup.top/s/v8RiZ, which has been processed the origin VIPeR to Market1501 formate. Download the pretrained weight from this url: https://cloud.foreup.top/s/14eIv.
git clone https://github.com/MiSanl/MDIFF-for-CRReID.git
python test.py --data /path/to/your/dataset_root_dir --model_path /path/to/your/pretrained/model --gpu GPU_ID