File size: 1,629 Bytes
7734d5b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# 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
```