Spaces:
Runtime error
Runtime error
|
Download tutorials/ctracker/README.md from ECCV2022/bytetrack: direct link, hf CLI and curl.
- Browser
- Download file 1.63 kB
-
https://huggingface.co/spaces/ECCV2022/bytetrack/resolve/main/tutorials/ctracker/README.md
- Command line
-
hf download hf://spaces/ECCV2022/bytetrack/tutorials/ctracker/README.md
-
curl -L -o README.md https://huggingface.co/spaces/ECCV2022/bytetrack/resolve/main/tutorials/ctracker/README.md
1.63 kB
A newer version of the Gradio SDK is available: 6.30.0
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, baidu(code:6p3w)
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
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