Skip to content

stone96123/MFRNet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python ==3.8 PyTorch ==1.12.0

[ICML2025] Multi-Modal Object Re-Identification via Sparse Mixture-of-Experts

The official repository for Multi-Modal Object Re-Identification via Sparse Mixture-of-Experts [pdf]

Prepare Datasets

mkdir data

Download the person datasets RGBNT201, RGBNT100 (code:rjin), and the MSVR310.

Installation

pip install -r requirements.txt

Prepare ViT Pre-trained Models

You need to download the pretrained CLIP model: ViT-B-16 (Code:52fu)

Training

You can train the MFRNet with:

python train_net.py --config_file configs/RGBNT201/MFRNet.yml

Some examples:

python train_net.py --config_file configs/RGBNT201/MFRNet.yml
  1. The device ID to be used can be set in config/defaults.py

  2. If you need to train on the RGBNT100 and MSVR310 datasets, please ensure the corresponding path is modified accordingly.

Evaluation

python test_net.py --config_file 'choose which config to test' --model_path 'your path of trained checkpoints'

Some examples:

python test_net.py --config_file configs/MSVR310/MFRNet.yml --model_path MSVR310_MFRNetbest.pth

Results

Dataset Rank@1 mAP Model
RGBNT201 83.6 80.7 model
RGBNT100 97.4 88.2 model
MSVR310 64.8 50.6 model

Citation

Please kindly cite this paper in your publications if it helps your research:

@inproceedings{fengmulti,
  title={Multi-Modal Object Re-identification via Sparse Mixture-of-Experts},
  author={Feng, Yingying and Li, Jie and Xie, Chi and Tan, Lei and Ji, Jiayi},
  booktitle={Forty-second International Conference on Machine Learning}
}

Acknowledgement

Our code is based on TOP-ReID[1]

References

[1]Wang Yuhao, Liu Xuehu, Zhang Pingping, Lu Hu, Tu Zhengzheng, Lu Huchuan. 2024. TOP-ReID: Multi-Spectral Object Re-identification with Token Permutation. Proceedings of the AAAI Conference on Artificial Intelligence. 38. 5758-5766.

Contact

If you have any question, please feel free to contact us. E-mail: lei.tan@nus.edu.sg

About

[ICML 2025] Multi-Modal Object Re-Identification via Sparse Mixture-of-Experts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages