MaochengHu 576cda45b8 first commit | 2 years ago | |
---|---|---|
.. | ||
README.md | 2 years ago |
Please follow the TensorRT Installation Guide and torch2trt gitrepo to install TensorRT (Version 7 recommended) and torch2trt.
You can convert the Pytorch model “bytetrack_s_mot17” to TensorRT model by running:
cd <ByteTrack_HOME>
python3 tools/trt.py -f tracker_exps/example/mot/yolox_s_mix_det.py -c pretrained/bytetrack_s_mot17.pth.tar
You can use the converted model_trt.pth to run TensorRT demo with 130 FPS:
cd <ByteTrack_HOME>
python3 tools/demo_track.py video -f tracker_exps/example/mot/yolox_s_mix_det.py --trt --save_result