Note: Before running this project, you should change the path of model files and data files in your own environment. Feel free to let me konw if you have any questions.
This repository contains code for the KSEM 2018 paper Cross-dataset Person Re-Identification Using Similarity Preserved Generative Adversarial Networks.
- This code was written based on PyTorch framework 0.3.
- Before you run this code, you need download the dataset first. Howerver, I have already upload train.list in the data directory. This is the file you need in the preprocessing.
python main.py
Note: There are many pre-defined hyperparameters in the main.py, and you can choose when run the code.
There is a file named show.html in the sample directory. Open the show.html in your browser after you run python main.py. It will auto-plot the intermediate images while training.