The code is modified from AIC21-MTMC.
cd ./detector/yolov5/ && pip install -r requirements.txt
- Download dataset from here, unzip it and put it in
datasets
folder. Thencd detector
and runpython gen_images_aic.py aic.yml
to generate images. cd ./reid_training
and follow theREADME_ReID.md
to train the ReID models. Already-trained models can be downloaded from here. Put ReID models into the folder./reid_bidir/reid_model/
.- Download yolov5x model (pretrained on COCO), and put it into the folder
./detector/yolov5/
. Thencd ./detector/yolov5/
, run:bash gen_det.sh aic.yml
. Already-generated detection results are provided here.
Run bash MCMVT.sh
to generate MCMVT results. The result file is located in ./reid_bidir/reid-matching/tools/
, the filename is defined in aic.yml
.
You can modify params of yml files in ./config
, ensure all paths are correct and can be found.