- Fully compatible with single-GPU setups
- Removed all torch.distributed dependencies
- Removed apex (AMP) requirement
- Refactored
main.pytomain_single_gpu.pyfor clarity - Simplified dataloaders and samplers for easier training/testing
- Python 3.10+
- PyTorch
- yacs
- h5py
- scipy
- torchvision
✅ You no longer need APEX or
torch.distributedto run this repo.
- [BaiduYun] password:
q0q2 - [GoogleDrive]
You can also use LTCC, PRCC, VC-Clothes, or DeepChange datasets (configurable).
-
Clone this repo and install dependencies:
git clone https://github.com/your-username/Simple-CCReID.git cd Simple-CCReID pip install -r requirements.txt -
Modify paths in the config: Edit
configs/default_img.pyorconfigs/default_vid.py_C.DATA.ROOT = "/path/to/your/data" _C.OUTPUT = "/path/to/save/outputs"
-
Run training (single GPU):
python main_single_gpu.py --cfg configs/res50_cels_cal.yaml --dataset prcc --gpu 0
Model will automatically evaluate every few epochs and print Rank-1 accuracy and other metrics. To run evaluation only:
python main_single_gpu.py --cfg configs/res50_cels_cal.yaml --dataset prcc --gpu 0 --evalIf you use our code or baseline, please cite:
@inproceedings{gu2022CAL,
title={Clothes-Changing Person Re-identification with RGB Modality Only},
author={Gu, Xinqian and Chang, Hong and Ma, Bingpeng and Bai, Shutao and Shan, Shiguang and Chen, Xilin},
booktitle={CVPR},
year={2022},
}📌 Maintainer: [Anh Khoa Nguyen] Feel free to fork, modify, or contribute back!