# CTracker #### Step1 git clone https://github.com/pjl1995/CTracker.git and preapare dataset #### Step2 add generate_half_csv.py to https://github.com/pjl1995/CTracker run generate_half_csv.py and put train_half_annots.csv in MOT17 run ``` python3 train.py --root_path MOT17 --csv_train train_half_annots.csv --model_dir ctracker/ --depth 50 --epochs 50 ``` You can also download the CTracker model trained by us: [google](https://drive.google.com/file/d/1TwBDomJx8pxD-e96mGIiTduLenUvmf1t/view?usp=sharing), [baidu(code:6p3w)](https://pan.baidu.com/s/1MaCvnHynX2Wzg81hWkqzeg) #### Step3 replace https://github.com/pjl1995/CTracker/blob/master/test.py run ``` python3 test.py --dataset_path MOT17 --model_dir ctracker --model_path ctracker/mot17_half_ctracker.pt ``` #### Step4 add eval_motchallenge.py to https://github.com/pjl1995/CTracker prepare gt_half_val.txt as CenterTrack [DATA.md](https://github.com/xingyizhou/CenterTrack/blob/master/readme/DATA.md) #### Step5 run ``` python3 eval_motchallenge.py --groundtruths MOT17/train --tests ctracker/results --gt_type half_val --eval_official --score_threshold -1 ``` # CTracker_BYTE #### Step3 add mot_online to https://github.com/pjl1995/CTracker add byte_tracker.py to https://github.com/pjl1995/CTracker add test_byte.py to https://github.com/pjl1995/CTracker run ``` python3 test_byte.py --dataset_path MOT17 --model_dir ctracker --model_path ctracker/mot17_half_ctracker.pt ``` #### Step5 run ``` python3 eval_motchallenge.py --groundtruths MOT17/train --tests ctracker/results --gt_type half_val --eval_official --score_threshold -1 ```