https://arxiv.org/abs/2001.04193
https://github.com/mangye16/Cross-Modal-Re-ID-baseline/tree/master?tab=readme-ov-file#
需要SYSU-MM01.zip
![![[Pasted image 20250530193904.png]]](https://i-blog.csdnimg.cn/direct/9bb29e57805e4960a563be59339c63a7.png)
pip install numpy pandas scipy scikit-learn pillow tqdm
把SYSU-MM01放到…/Datasets/SYSU-MM01/ori_data下
![![[Pasted image 20250530195549.png]]](https://i-blog.csdnimg.cn/direct/6da90e45e98b4ae6a7e24df088dd6bab.png)
先运行python pre_process_sysu.py得到
![![[Pasted image 20250530195559.png]]](https://i-blog.csdnimg.cn/direct/fbff20ccb22941beb6ad3397057f7426.png)
然后运行
python train.py --dataset sysu --lr 0.1 --method agw --gpu 0进行训练
然后进行测试
python test.py --mode all --resume ‘./save_model/sysu_agw_p4_n8_lr_0.1_seed_0_best.t’ --gpu 0 --dataset sysu
